mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
fix: 优化组件渲染方式
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user