父节点
当前提交
4a5a45b4e2
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. +1
    -1
      frontend/dist/index.html
  2. +1
    -1
      frontend/dist/umi.3ab00a87.js
  3. +1
    -1
      frontend/src/app.tsx

+ 1
- 1
frontend/dist/index.html 查看文件

@@ -6,6 +6,6 @@
</head>
<body>
<div id="root"></div>
<script src="/umi.bd903792.js"></script>
<script src="/umi.3ab00a87.js"></script>

</body></html>

frontend/dist/umi.3ab00a87.js
文件差异内容过多而无法显示
查看文件


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

@@ -13,7 +13,7 @@ const isDev = process.env.NODE_ENV === 'development';
const loopMenuItem = (menus: MenuDataItem[]): MenuDataItem[] => {
return menus?.map(({ icon, routes, ...item }) => ({
...item,
icon: icon && React.createElement(Icon[icon as string]),
icon: icon && React.createElement(Icon && (Icon as any)[item.icon]),
routes: routes && loopMenuItem(routes),
}));
};


正在加载...
取消
保存