|
|
@ -158,10 +158,10 @@ export default { |
|
|
|
return this.$message.error(res.msg); |
|
|
|
} |
|
|
|
Cookies.set('token', res.data.token); |
|
|
|
this.checkLocakStorage(); |
|
|
|
|
|
|
|
this.$router.replace({ name: 'home' }); |
|
|
|
// // 登陆之后从localStorage获取党委为空则从网络上拉取 |
|
|
|
|
|
|
|
this.checkLocakStorage(); |
|
|
|
}) |
|
|
|
.catch(() => {}); |
|
|
|
}, |
|
|
|