Yanko 2 月之前
父節點
當前提交
16fdca1a69
共有 3 個檔案被更改,包括 3 行新增3 行删除
  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 查看文件

@@ -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
文件差異過大導致無法顯示
查看文件


+ 1
- 1
frontend/src/app.tsx 查看文件

@@ -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…
取消
儲存