fix: 处理 TS 报错

This commit is contained in:
奔跑的面条
2022-08-15 11:43:32 +08:00
parent dd824a8ca6
commit 96e427ee08
7 changed files with 27 additions and 49 deletions
+2 -6
View File
@@ -90,12 +90,8 @@ export interface CreateComponentType extends PublicConfigType, requestConfig {
option: GlobalThemeJsonType
}
// 组件成组实例类 (部分属性用不到设置为 any)
export interface CreateComponentGroupType extends PublicConfigType {
// 保持结构一致, 设置组件名称
chartConfig: {
title: ConfigType.title
}
// 组件成组实例类
export interface CreateComponentGroupType extends CreateComponentType {
groupList: Array<CreateComponentType>
}