mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-11-14 05:03:49 +08:00
发布代码生成、更新20+表单组件,优化数据字典,gf版本更新到2.3.1
This commit is contained in:
@@ -1,53 +1,12 @@
|
||||
import { renderIcon } from '@/utils/index';
|
||||
import {
|
||||
AppstoreOutlined,
|
||||
CheckCircleOutlined,
|
||||
DashboardOutlined,
|
||||
ExclamationCircleOutlined,
|
||||
ProfileOutlined,
|
||||
ProjectOutlined,
|
||||
SettingOutlined,
|
||||
TableOutlined,
|
||||
WalletOutlined,
|
||||
DeleteOutlined,
|
||||
EditOutlined,
|
||||
} from '@vicons/antd';
|
||||
import {
|
||||
DesktopOutline,
|
||||
DocumentTextOutline,
|
||||
OptionsSharp,
|
||||
SettingsOutline,
|
||||
LogoBuffer,
|
||||
KeyOutline,
|
||||
VolumeLowOutline,
|
||||
CodeSlashOutline,
|
||||
EaselOutline,
|
||||
TimerOutline,
|
||||
OptionsOutline,
|
||||
} from '@vicons/ionicons5';
|
||||
import * as antdIcons from '@vicons/antd';
|
||||
// import * as x5Icons from '@vicons/ionicons5';
|
||||
|
||||
//前端路由图标映射表
|
||||
export const constantRouterIcon = {
|
||||
EditOutlined: renderIcon(EditOutlined),
|
||||
DeleteOutlined: renderIcon(DeleteOutlined),
|
||||
OptionsOutline: renderIcon(OptionsOutline),
|
||||
TimerOutline: renderIcon(TimerOutline),
|
||||
EaselOutline: renderIcon(EaselOutline),
|
||||
CodeSlashOutline: renderIcon(CodeSlashOutline),
|
||||
VolumeLowOutline: renderIcon(VolumeLowOutline),
|
||||
DashboardOutlined: renderIcon(DashboardOutlined),
|
||||
SettingsOutline: renderIcon(SettingsOutline),
|
||||
OptionsSharp: renderIcon(OptionsSharp),
|
||||
TableOutlined: renderIcon(TableOutlined),
|
||||
ExclamationCircleOutlined: renderIcon(ExclamationCircleOutlined),
|
||||
ProfileOutlined: renderIcon(ProfileOutlined),
|
||||
CheckCircleOutlined: renderIcon(CheckCircleOutlined),
|
||||
SettingOutlined: renderIcon(SettingOutlined),
|
||||
WalletOutlined: renderIcon(WalletOutlined),
|
||||
DesktopOutline: renderIcon(DesktopOutline),
|
||||
DocumentTextOutline: renderIcon(DocumentTextOutline),
|
||||
ProjectOutlined: renderIcon(ProjectOutlined),
|
||||
AppstoreOutlined: renderIcon(AppstoreOutlined),
|
||||
LogoBuffer: renderIcon(LogoBuffer),
|
||||
KeyOutline: renderIcon(KeyOutline),
|
||||
};
|
||||
export const constantRouterIcon = {};
|
||||
for (const element of Object.keys(antdIcons)) {
|
||||
constantRouterIcon[element] = renderIcon(antdIcons[element]);
|
||||
}
|
||||
|
||||
// for (const element of Object.keys(x5Icons)) {
|
||||
// constantRouterIcon[element] = renderIcon(x5Icons[element]);
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user