ソースを参照

webchatAuth修改

seimin 2 年 前
コミット
b9fb2fce4e
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  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 {