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