This commit is contained in:
2025-06-19 22:03:57 +08:00
parent 538dd3c81e
commit 69b8967014
19 changed files with 52 additions and 71 deletions

View File

@@ -46,7 +46,7 @@ export function NavUser({ user, isUserLoading }: { user: User | undefined, isUse
localStorage.removeItem(UserApi.USER_ME_CACHE_KEY)
toast.success('登出成功');
router.replace('/console/login');
} catch (error) {
} catch {
toast.error('登出失败,请稍后再试');
}
}