소스 검색

BUG修复

seimin 3 년 전
부모
커밋
dbc55341e1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/Login.vue

+ 1 - 1
src/views/Login.vue

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