fix:修复退出登录问题

This commit is contained in:
zouzhibing 2022-11-13 20:15:41 +08:00
parent bb848895f7
commit 294f2458e4
2 changed files with 1 additions and 1 deletions

View File

@ -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",

View File