chore: 主动登出不需要带跳转地址

This commit is contained in:
dap
2024-11-25 09:42:27 +08:00
parent 24e889adbe
commit 34a11ce64d
2 changed files with 5 additions and 1 deletions

View File

@@ -88,7 +88,10 @@ const avatar = computed(() => {
});
async function handleLogout() {
await authStore.logout();
/**
* 主动登出不需要带跳转地址
*/
await authStore.logout(false);
resetRoutes();
}