This commit is contained in:
Silent YANG 2024-06-18 21:22:29 +08:00
parent 0923cfaebb
commit 4f0c22319e

View file

@ -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();
},
},
});