From 71ce3cca53b94367a69b79b36f2c42ac8c60baf7 Mon Sep 17 00:00:00 2001
From: hejianhao <15708179461@qq.com>
Date: 星期一, 24 二月 2025 17:57:15 +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