fix:修复退出登录问题
This commit is contained in:
parent
bb848895f7
commit
294f2458e4
|
|
@ -45,8 +45,8 @@ const logOut = async () => {
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
})
|
})
|
||||||
.then(async () => {
|
.then(async () => {
|
||||||
await router.push({path: '/login'})
|
|
||||||
await UserStore.logout()
|
await UserStore.logout()
|
||||||
|
await router.push({path: '/login'})
|
||||||
TagsViewStore.clearVisitedView()
|
TagsViewStore.clearVisitedView()
|
||||||
ElMessage({
|
ElMessage({
|
||||||
type: "success",
|
type: "success",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue