From 550d63c6b3707f0a689ab52a1dfa24700f2be7bf Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期一, 26 二月 2024 15:27:38 +0800
Subject: [PATCH] #

---
 zy-asrs-flow/src/components/RightContent/AvatarDropdown.tsx |   42 +++++++++++++++++++++++++-----------------
 zy-asrs-flow/src/pages/system/userLogin/index.jsx           |    3 +++
 2 files changed, 28 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 />,
diff --git a/zy-asrs-flow/src/pages/system/userLogin/index.jsx b/zy-asrs-flow/src/pages/system/userLogin/index.jsx
index a63c9f0..6ea5d07 100644
--- a/zy-asrs-flow/src/pages/system/userLogin/index.jsx
+++ b/zy-asrs-flow/src/pages/system/userLogin/index.jsx
@@ -295,6 +295,9 @@
                     dateFormatter="string"
                     pagination={{ pageSize: 20 }}
                     search={false}
+                    style={{
+                        marginBottom: '20px'
+                    }}
                     toolbar={{
                         search: {
                             onSearch: (value) => {

--
Gitblit v1.9.1