소스 검색

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 {