feat: 添加组件分类标识

This commit is contained in:
奔跑的面条 2022-06-25 17:44:21 +08:00
parent cfa69baaa3
commit 30e7e7ab7c

View File

@ -1,6 +1,12 @@
import type { GlobalThemeJsonType } from '@/settings/chartThemes/index'
import type { RequestConfigType } from '@/store/modules/chartEditStore/chartEditStore.d'
export enum ChartFrameEnum {
COMMON = 'common',
ECHARTS = 'echarts',
NAIVE_UI = 'naiveUI'
}
// 组件配置
export type ConfigType = {
key: string
@ -10,6 +16,7 @@ export type ConfigType = {
category: string
categoryName: string
package: string
chartFrame?: ChartFrameEnum
image: string | (() => Promise<typeof import('*.png')>)
}