|
|
@@ -145,7 +145,8 @@ export default { |
|
|
|
this.SET_STORAGE("token",success.baseinfo.token) |
|
|
|
// this.SET_STORAGE("logininfo",logininfo) |
|
|
|
// this.SET_STORAGE("userinfo",success) |
|
|
|
location.href = "http://" + window.location.host; |
|
|
|
location.href = "http://" + window.location.host + "/#/pages/my/newpassword"; |
|
|
|
// location.href = "http://" + window.location.host; |
|
|
|
}else{ |
|
|
|
this.ready = true |
|
|
|
this.openid = success.openid |
|
|
@@ -163,8 +164,6 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
loginClick(){ |
|
|
|
|
|
|
|
|
|
|
|
// 点击登录 |
|
|
|
// 账号密码登录时,验证输入,输入有误则返回 |
|
|
|
if (!this.check()) { |
|
|
@@ -200,7 +199,7 @@ export default { |
|
|
|
} else { |
|
|
|
this.SET_STORAGE('pwd', false); |
|
|
|
} |
|
|
|
location.href = "http://" + window.location.host; |
|
|
|
location.href = "http://" + window.location.host + "/#/pages/my/newpassword"; |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|