mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-14 02:40:53 +08:00
chore: 主动登出不需要带跳转地址
This commit is contained in:
@@ -88,7 +88,10 @@ const avatar = computed(() => {
|
||||
});
|
||||
|
||||
async function handleLogout() {
|
||||
await authStore.logout();
|
||||
/**
|
||||
* 主动登出不需要带跳转地址
|
||||
*/
|
||||
await authStore.logout(false);
|
||||
resetRoutes();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user