seimin vor 3 Jahren
Ursprung
Commit
a23c944e84
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/App.vue

+ 1 - 1
src/App.vue

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