fix: loginOut api

This commit is contained in:
xingyu
2023-01-16 17:00:48 +08:00
parent 5450534a80
commit cccf8d8197
3 changed files with 5 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ const loginOut = () => {
type: 'warning'
})
.then(async () => {
userStore.loginOut()
await userStore.loginOut()
tagsViewStore.delAllViews()
replace('/login?redirect=/index')
})