mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-16 16:12:01 +08:00
chore: sse close before logout
This commit is contained in:
@@ -81,10 +81,8 @@ const avatar = computed(() => {
|
||||
});
|
||||
|
||||
async function handleLogout() {
|
||||
// resetAllStores();
|
||||
await authStore.logout();
|
||||
resetRoutes();
|
||||
// await router.replace(LOGIN_PATH);
|
||||
authStore.logout();
|
||||
}
|
||||
|
||||
const notifyStore = useNotifyStore();
|
||||
|
||||
Reference in New Issue
Block a user