mirror of
https://github.com/silenty4ng/k5web
synced 2025-01-06 20:02:38 +00:00
update
This commit is contained in:
parent
0923cfaebb
commit
4f0c22319e
1 changed files with 6 additions and 5 deletions
|
@ -81,11 +81,12 @@ const useUserStore = defineStore('user', {
|
|||
},
|
||||
// Logout
|
||||
async logout() {
|
||||
try {
|
||||
await userLogout();
|
||||
} finally {
|
||||
this.logoutCallBack();
|
||||
}
|
||||
// try {
|
||||
// await userLogout();
|
||||
// } finally {
|
||||
// this.logoutCallBack();
|
||||
// }
|
||||
this.logoutCallBack();
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue