报价单魔魁
This commit is contained in:
@@ -13,7 +13,7 @@ const getAntIcon = (iconName) => {
|
||||
};
|
||||
|
||||
const generateMenuItems = (routes, parentPath = '') => {
|
||||
return routes.map((route) => {
|
||||
return routes.filter(route => !route.hidden).map((route) => {
|
||||
const fullPath = `${parentPath}/${route.path}`.replace(/\/+/g, '/');
|
||||
const icon = route.icon && <ColorIcon icon={getAntIcon(route.icon)} />;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user