Browse Source

BUG修复

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

+ 1 - 1
src/views/Login.vue

@@ -46,7 +46,7 @@ export default {
46
     // 登陆
46
     // 登陆
47
     login() {
47
     login() {
48
       var that = this;
48
       var that = this;
49
-      that.$http.post("service/auth/wechatAuth", {}).then(function(res) {
49
+      that.$http.post("service/auth/wechatAuth", {}).then((res) => {
50
         if (res.data.url) {
50
         if (res.data.url) {
51
           window.location.href = res.data.url;
51
           window.location.href = res.data.url;
52
         } else {
52
         } else {