Compare commits
2 Commits
daa99dd098
...
67e6bd9092
Author | SHA1 | Date |
---|---|---|
tangyi | 67e6bd9092 | |
tangyi | 40b5ad3e0e |
|
@ -48,7 +48,7 @@ export default {
|
|||
if (response.data.code == 200) {
|
||||
localStorage.token="bearer "+response.data.data.accessToken
|
||||
localStorage.userData= JSON.stringify(response.data.data)
|
||||
that.$router.push("/index");
|
||||
that.$router.push("/consumer");
|
||||
}else{
|
||||
that.$alert(response.data.msg,"登录失败", {
|
||||
confirmButtonText: "确定",
|
||||
|
|
Loading…
Reference in New Issue