fix: 修改类型报错的问题

This commit is contained in:
MTrun
2022-02-25 15:51:19 +08:00
parent edfdcee3a4
commit 8e9905816e
4 changed files with 19 additions and 7 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
import { Component } from '@/router/types'
import { GlobalThemeJsonType } from '@/settings/chartThemes/index'
// 组件配置
export type ConfigType = {
@@ -21,7 +22,7 @@ export interface PublicConfigType {
export interface CreateComponentType extends PublicConfigType {
key: string
chartConfig: Omit<ConfigType, 'node'>
option: object
option: GlobalThemeJsonType
}
// 包分类枚举