Browse Source

webchatAuth修改

seimin 2 years ago
parent
commit
b9fb2fce4e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/Login.vue

+ 1 - 1
src/views/Login.vue

@@ -161,7 +161,7 @@ export default {
161
     // 登陆
161
     // 登陆
162
     login() {
162
     login() {
163
       var that = this;
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
         if (res.data.url) {
165
         if (res.data.url) {
166
           window.location.href = res.data.url;
166
           window.location.href = res.data.url;
167
         } else {
167
         } else {