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