Yanko 2 months ago
parent
commit
16fdca1a69
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      frontend/dist/index.html
  2. +1
    -1
      frontend/dist/umi.c6b42b09.js
  3. +1
    -1
      frontend/src/app.tsx

+ 1
- 1
frontend/dist/index.html View File

@@ -9,6 +9,6 @@
</head>
<body>
<div id="root"></div>
<script src="/umi.92384091.js"></script>
<script src="/umi.c6b42b09.js"></script>
</body>
</html>

frontend/dist/umi.c6b42b09.js
File diff suppressed because it is too large
View File


+ 1
- 1
frontend/src/app.tsx View File

@@ -18,7 +18,7 @@ const loopMenuItem = (menus: MenuDataItem[]): MenuDataItem[] => {
return menus?.map(({ icon, routes, ...item }) => (
{
...item,
icon: (icon as string).trim() ? React.createElement((Icon as any)[icon as string]):React.createElement((Icon as any)['SettingOutlined']),
icon: (icon as string) =='' ? React.createElement((Icon as any)[icon as string]):React.createElement((Icon as any)['SettingOutlined']),
routes: routes && loopMenuItem(routes),
}));
};


Loading…
Cancel
Save