|
|
@ -162,9 +162,7 @@ export default { |
|
|
|
location.href = href; |
|
|
|
} else { |
|
|
|
localStorage.removeItem("thePageAtExit"); |
|
|
|
// this.$router.replace({ name: "index" }); |
|
|
|
this.$router.replace({ name: "index" }); |
|
|
|
// this.$router.replace({ name: 'index' }).catch(() => {}) |
|
|
|
this.$router.replace({ path: "/main/shequ-index" }); |
|
|
|
} |
|
|
|
}, |
|
|
|
// 获取公钥 |
|
|
@ -270,7 +268,6 @@ export default { |
|
|
|
localStorage.setItem("userType", "work"); |
|
|
|
|
|
|
|
localStorage.setItem("token", res.data.token); |
|
|
|
console.log(res.data.token,'ccccccc'); |
|
|
|
this.skipAfterLogin(); |
|
|
|
}) |
|
|
|
.catch(() => { |
|
|
|