From a6896418f5beca4a8fbac4af2219187f4a460cde Mon Sep 17 00:00:00 2001 From: 董国庆 <364620639@qq.com> Date: 星期日, 23 二月 2025 17:44:39 +0800 Subject: [PATCH] 解决冲突,创建页面 --- management/src/components/RightContent/AvatarDropdown.tsx | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/management/src/components/RightContent/AvatarDropdown.tsx b/management/src/components/RightContent/AvatarDropdown.tsx index 0e57f95..1d419ab 100644 --- a/management/src/components/RightContent/AvatarDropdown.tsx +++ b/management/src/components/RightContent/AvatarDropdown.tsx @@ -34,12 +34,12 @@ const redirect = urlParams.get('redirect'); // Note: There may be security issues, please note if (window.location.pathname !== '/login' && !redirect) { - history.replace({ - pathname: '/login', - search: stringify({ - redirect: pathname + search, - }), - }); + // history.replace({ + // pathname: '/login', + // search: stringify({ + // redirect: pathname + search, + // }), + // }); } }; const actionClassName = useEmotionCss(({ token }) => { -- Gitblit v1.7.1