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