From b016d1eb02dd09fd1ffcd24e4e6ddee72fd1b3d6 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 28 二月 2024 10:27:25 +0800
Subject: [PATCH] #
---
zy-asrs-flow/src/components/RightContent/AvatarDropdown.jsx | 17 +++++------------
1 files changed, 5 insertions(+), 12 deletions(-)
diff --git a/zy-asrs-flow/src/components/RightContent/AvatarDropdown.jsx b/zy-asrs-flow/src/components/RightContent/AvatarDropdown.jsx
index 6e4c9cb..9f1889b 100644
--- a/zy-asrs-flow/src/components/RightContent/AvatarDropdown.jsx
+++ b/zy-asrs-flow/src/components/RightContent/AvatarDropdown.jsx
@@ -67,10 +67,8 @@
loginOut();
return;
}
- history.push(`/account/${key}`);
- },
- [setInitialState],
- );
+ history.push(`/user/${key}`);
+ }, [setInitialState]);
const loading = (
<span className={styles.action}>
@@ -112,14 +110,9 @@
// },
// ]
// : []),
- {
- key: 'settings',
- icon: <SettingOutlined />,
- label: '涓汉璁剧疆',
- },
- {
- type: 'divider'
- },
+ // {
+ // type: 'divider'
+ // },
{
key: 'logout',
icon: <LogoutOutlined />,
--
Gitblit v1.9.1