refactor: 重构及优化应用管理

This commit is contained in:
2024-11-17 22:05:00 +08:00
parent 0bd0ff5e21
commit 2b7c09966f
12 changed files with 238 additions and 240 deletions

View File

@@ -135,7 +135,7 @@ const logout = () => {
onBeforeOk: async () => {
try {
await userStore.logout()
router.replace('/login')
await router.replace('/login')
return true
} catch (error) {
return false