|
|
@ -161,15 +161,8 @@ export default { |
|
|
|
methods: { |
|
|
|
// 登陆后跳转逻辑 |
|
|
|
skipAfterLogin() { |
|
|
|
let href = localStorage.getItem("thePageAtExit"); |
|
|
|
if (href && href.indexOf("login") == -1) { |
|
|
|
localStorage.removeItem("thePageAtExit"); |
|
|
|
location.href = href; |
|
|
|
} else { |
|
|
|
localStorage.removeItem("thePageAtExit"); |
|
|
|
const redirect = this.$route.query.redirect || '/' |
|
|
|
this.$router.replace(redirect); |
|
|
|
} |
|
|
|
}, |
|
|
|
// 获取公钥 |
|
|
|
getPubKey() { |
|
|
|