mirror of
https://gitee.com/dromara/go-view.git
synced 2025-02-24 00:02:51 +08:00
fix: 处理缺失的类型
This commit is contained in:
parent
0f7fbfcce8
commit
c4953e7afd
@ -5,6 +5,8 @@ import { DecorateList } from '@/packages/components/Decorate/index'
|
||||
// 所有图表
|
||||
let packagesList: PackagesType = {
|
||||
[PackagesCategoryEnum.CHARTS]: ChartList,
|
||||
[PackagesCategoryEnum.TEXTS]: DecorateList,
|
||||
[PackagesCategoryEnum.TABLES]: DecorateList,
|
||||
[PackagesCategoryEnum.DECORATES]: DecorateList
|
||||
}
|
||||
|
||||
|
@ -25,14 +25,14 @@ const packagesListObj = {
|
||||
icon: renderIcon(RoadmapIcon),
|
||||
label: renderLang('图表')
|
||||
},
|
||||
// [PackagesCategoryEnum.TEXTS]: {
|
||||
// icon: renderIcon(SpellCheckIcon),
|
||||
// label: renderLang('信息')
|
||||
// },
|
||||
// [PackagesCategoryEnum.TABLES]: {
|
||||
// icon: renderIcon(GraphicalDataFlowIcon),
|
||||
// label: renderLang('表格')
|
||||
// },
|
||||
[PackagesCategoryEnum.TEXTS]: {
|
||||
icon: renderIcon(SpellCheckIcon),
|
||||
label: renderLang('信息')
|
||||
},
|
||||
[PackagesCategoryEnum.TABLES]: {
|
||||
icon: renderIcon(GraphicalDataFlowIcon),
|
||||
label: renderLang('表格')
|
||||
},
|
||||
[PackagesCategoryEnum.DECORATES]: {
|
||||
icon: renderIcon(GraphicalDataFlowIcon),
|
||||
label: renderLang('装饰')
|
||||
|
Loading…
Reference in New Issue
Block a user