seimin před 2 roky
rodič
revize
b9fb2fce4e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/views/Login.vue

+ 1 - 1
src/views/Login.vue

@@ -161,7 +161,7 @@ export default {
161 161
     // 登陆
162 162
     login() {
163 163
       var that = this;
164
-      that.$http.post("service/auth/wechatAuth", {}).then(res => {
164
+      that.$http.post("service/auth/wechatAuth", {redirectUrl:location.origin+location.pathname}).then(res => {
165 165
         if (res.data.url) {
166 166
           window.location.href = res.data.url;
167 167
         } else {