发布代码生成、更新20+表单组件,优化数据字典,gf版本更新到2.3.1

This commit is contained in:
孟帅
2023-01-18 16:23:39 +08:00
parent 50207ded90
commit 87c27a17a3
386 changed files with 27926 additions and 44297 deletions

View File

@@ -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]);
// }