From 1b576a30a84b8b57f5b7d7a22424f9fc08d08516 Mon Sep 17 00:00:00 2001
From: xjj <xjj@123>
Date: 星期二, 27 二月 2024 13:03:56 +0800
Subject: [PATCH] #

---
 zy-asrs-flow/src/components/RightContent/AvatarDropdown.tsx |   42 +++++++++++++++++++++++++-----------------
 1 files changed, 25 insertions(+), 17 deletions(-)

diff --git a/zy-asrs-flow/src/components/RightContent/AvatarDropdown.tsx b/zy-asrs-flow/src/components/RightContent/AvatarDropdown.tsx
index d5324f8..7dee603 100644
--- a/zy-asrs-flow/src/components/RightContent/AvatarDropdown.tsx
+++ b/zy-asrs-flow/src/components/RightContent/AvatarDropdown.tsx
@@ -104,23 +104,31 @@
   }
 
   const menuItems = [
-    ...(menu
-      ? [
-        {
-          key: 'center',
-          icon: <UserOutlined />,
-          label: '涓汉涓績',
-        },
-        {
-          key: 'settings',
-          icon: <SettingOutlined />,
-          label: '涓汉璁剧疆',
-        },
-        {
-          type: 'divider' as const,
-        },
-      ]
-      : []),
+    // ...(menu
+    //   ? [
+    //     {
+    //       key: 'center',
+    //       icon: <UserOutlined />,
+    //       label: '涓汉涓績',
+    //     },
+    //     {
+    //       key: 'settings',
+    //       icon: <SettingOutlined />,
+    //       label: '涓汉璁剧疆',
+    //     },
+    //     {
+    //       type: 'divider' as const,
+    //     },
+    //   ]
+    //   : []),
+    {
+      key: 'settings',
+      icon: <SettingOutlined />,
+      label: '涓汉璁剧疆',
+    },
+    {
+      type: 'divider' as const,
+    },
     {
       key: 'logout',
       icon: <LogoutOutlined />,

--
Gitblit v1.9.1