mirror of
https://gitee.com/dromara/go-view.git
synced 2025-02-24 16:22:57 +08:00
feat: 添加组件分类标识
This commit is contained in:
parent
cfa69baaa3
commit
30e7e7ab7c
7
src/packages/index.d.ts
vendored
7
src/packages/index.d.ts
vendored
@ -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')>)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user