fix: base 退出时用location.reload重置路由

This commit is contained in:
caoqianming 2024-03-13 14:17:00 +08:00
parent 8311cb7d1b
commit a2feea0b54
1 changed files with 1 additions and 1 deletions

View File

@ -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(() => {
//退