|
|
@ -147,8 +147,9 @@ export default { |
|
|
|
return this.$message.error(res.msg) |
|
|
|
} |
|
|
|
Cookies.set('token', res.data.token) |
|
|
|
this.$store.state.sidebarHide = true |
|
|
|
this.$router.replace({ name: 'productIframe-shequ-index' }) |
|
|
|
this.$router.replace({ name: 'home' }) |
|
|
|
// this.$store.state.sidebarHide = true |
|
|
|
// this.$router.replace({ name: 'productIframe-shequ-index' }) |
|
|
|
window.localStorage.setItem('isGoProgect', false) |
|
|
|
// 登陆之后从localStorage获取党委为空则从网络上拉取 |
|
|
|
this.checkLocakStorage() |
|
|
|