Compare commits

..

No commits in common. "67e6bd9092be218064adc80255fee3759ee2efe8" and "daa99dd0981413934a249b5e2b57f14b5fb1f59a" have entirely different histories.

1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ export default {
if (response.data.code == 200) { if (response.data.code == 200) {
localStorage.token="bearer "+response.data.data.accessToken localStorage.token="bearer "+response.data.data.accessToken
localStorage.userData= JSON.stringify(response.data.data) localStorage.userData= JSON.stringify(response.data.data)
that.$router.push("/consumer"); that.$router.push("/index");
}else{ }else{
that.$alert(response.data.msg,"登录失败", { that.$alert(response.data.msg,"登录失败", {
confirmButtonText: "确定", confirmButtonText: "确定",