CN-484 交互优化:登录拦截后,在登录成功后跳转原url
This commit is contained in:
@@ -77,7 +77,7 @@ export default {
|
||||
if (!this.$_.isEmpty(res.data.theme)) {
|
||||
localStorage.setItem(storageKey.theme, res.data.theme)
|
||||
}
|
||||
res.loginSuccessPath = this.loginSuccessPath
|
||||
res.loginSuccessPath = this.loginSuccessPath ? this.loginSuccessPath : localStorage.getItem(storageKey.tokenExpireCurrentPath)
|
||||
this.loginSuccess(res)
|
||||
localStorage.setItem(storageKey.username, this.username)
|
||||
} else if (res.code === 518005) {
|
||||
|
||||
Reference in New Issue
Block a user