fix: 优化组件渲染方式

This commit is contained in:
MTrun
2022-01-14 22:07:02 +08:00
parent 02c3f7478d
commit 3e511069b5
35 changed files with 359 additions and 232 deletions
+5 -3
View File
@@ -1,9 +1,11 @@
import { PackagesType } from '@/packages/index.d'
import { BarList } from '@/packages/components/Chart/index'
import { PackagesCategoryEnum, PackagesType } from '@/packages/index.d'
import { ChartList } from '@/packages/components/Chart/index'
import { DecorateList } from '@/packages/components/Decorate/index'
// 所有图表
let packagesList: PackagesType = {
Charts: BarList
[PackagesCategoryEnum.CHARTS]: ChartList,
[PackagesCategoryEnum.DECORATES]: DecorateList
}
export { packagesList }