fix: base 退出时用location.reload重置路由
This commit is contained in:
parent
8311cb7d1b
commit
a2feea0b54
|
@ -166,7 +166,7 @@ export default {
|
|||
})
|
||||
.then(() => {
|
||||
this.$TOOL.data.remove("TOKEN")
|
||||
this.$router.push(`/login?redirect=${this.$route.fullPath}`)
|
||||
this.$router.push(`/login?redirect=${this.$route.fullPath}`).then(() => { location.reload() })
|
||||
})
|
||||
.catch(() => {
|
||||
//取消退出
|
||||
|
|
Loading…
Reference in New Issue