From 039b906bb7a88b05049b36ce1a6b08fe25bbeedc Mon Sep 17 00:00:00 2001
From: 董国庆 <364620639@qq.com>
Date: 星期一, 24 二月 2025 21:16:38 +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