From e34c0f4e7379d97f1717acab4630020741ec2569 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期五, 18 四月 2025 12:54:35 +0800
Subject: [PATCH] #初始化库位优化

---
 rsf-admin/src/layout/MyMenu.jsx |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/rsf-admin/src/layout/MyMenu.jsx b/rsf-admin/src/layout/MyMenu.jsx
index 370630a..5338309 100644
--- a/rsf-admin/src/layout/MyMenu.jsx
+++ b/rsf-admin/src/layout/MyMenu.jsx
@@ -58,6 +58,8 @@
     const IconComponent = getIconComponent(iconStr);
     if (IconComponent) {
       return <IconComponent />;
+    } else {
+      return <KeyboardArrowDownIcon />
     }
   };
 
@@ -89,6 +91,7 @@
               primaryText={node.name}
               leftIcon={getIcon(node.icon)}
               dense={dense}
+              sx={{ '& .RaMenuItemLink-icon': { visibility: 'hidden', minWidth: '24px' } }}
             />
           );
         }

--
Gitblit v1.9.1