CN-484 交互优化:登录拦截后,在登录成功后跳转原url

This commit is contained in:
hyx
2022-05-19 18:26:51 +08:00
parent 08f7df4e52
commit cf401c4c2c
3 changed files with 29 additions and 3 deletions

View File

@@ -181,6 +181,7 @@ export default {
this.showChangePin = true
},
logout () {
sessionStorage.removeItem(storageKey.tokenExpireCurrentPath)
localStorage.removeItem(storageKey.token)
get(api.logout)
},