|
|
|
@ -157,10 +157,11 @@ export default { |
|
|
|
// 登陆后跳转逻辑 |
|
|
|
skipAfterLogin() { |
|
|
|
let href = localStorage.getItem("thePageAtExit"); |
|
|
|
if (href) { |
|
|
|
if (href && href.indexOf("login") == -1) { |
|
|
|
localStorage.removeItem("thePageAtExit"); |
|
|
|
location.href = href; |
|
|
|
} else { |
|
|
|
localStorage.removeItem("thePageAtExit"); |
|
|
|
this.$router.replace({ name: "index" }); |
|
|
|
} |
|
|
|
}, |
|
|
|
|