fix: 修改类型报错

This commit is contained in:
MTrun
2022-03-07 15:21:45 +08:00
parent 9295b93116
commit c2e01b3907
13 changed files with 43 additions and 27 deletions
@@ -6,11 +6,12 @@ import { ChatCategoryEnum,ChatCategoryEnumName } from '../../index.d'
export const ImageConfig: ConfigType = {
key: 'VImage',
conKey: 'VCImage',
title: '图片',
category: ChatCategoryEnum.MORE,
categoryName: ChatCategoryEnumName.MORE,
package: PackagesCategoryEnum.INFORMATION,
node: Image,
node: () => Image,
conNode: () => Configuration,
image
}
@@ -6,11 +6,12 @@ import { ChatCategoryEnum,ChatCategoryEnumName } from '../../index.d'
export const TextCloudConfig: ConfigType = {
key: 'VTextCloud',
conKey: 'VCTextCloud',
title: '词云',
category: ChatCategoryEnum.MORE,
categoryName: ChatCategoryEnumName.MORE,
package: PackagesCategoryEnum.INFORMATION,
node: TextCloud,
node: () => TextCloud,
conNode: () => Configuration,
image
}
@@ -6,11 +6,12 @@ import { ChatCategoryEnum,ChatCategoryEnumName } from '../../index.d'
export const TextCommonConfig: ConfigType = {
key: 'VText',
conKey: 'VCText',
title: '文字',
category: ChatCategoryEnum.TEXT,
categoryName: ChatCategoryEnumName.TEXT,
package: PackagesCategoryEnum.INFORMATION,
node: TextCommon,
node: () => TextCommon,
conNode: () => Configuration,
image
}
@@ -6,11 +6,12 @@ import { ChatCategoryEnum,ChatCategoryEnumName } from '../../index.d'
export const TitleBevelAngleConfig: ConfigType = {
key: 'VTitleBevelAngle',
conKey: 'VCTitleBevelAngle',
title: '斜角标题',
category: ChatCategoryEnum.TITLE,
categoryName: ChatCategoryEnumName.TITLE,
package: PackagesCategoryEnum.INFORMATION,
node: TitleBevelAngle,
node: () => TitleBevelAngle,
conNode: () => Configuration,
image
}
@@ -6,11 +6,12 @@ import { ChatCategoryEnum,ChatCategoryEnumName } from '../../index.d'
export const TitleCommonConfig: ConfigType = {
key: 'VText',
conKey: 'VCText',
title: '普通标题',
category: ChatCategoryEnum.TITLE,
categoryName: ChatCategoryEnumName.TITLE,
package: PackagesCategoryEnum.INFORMATION,
node: TitleCommon,
node: () => TitleCommon,
conNode: () => Configuration,
image
}
@@ -6,11 +6,12 @@ import { ChatCategoryEnum,ChatCategoryEnumName } from '../../index.d'
export const TitleProConfig: ConfigType = {
key: 'VTitlePro',
conKey: 'VCTitlePro',
title: '中心标题',
category: ChatCategoryEnum.TITLE,
categoryName: ChatCategoryEnumName.TITLE,
package: PackagesCategoryEnum.INFORMATION,
node: TitlePro,
node: () => TitlePro,
conNode: () => Configuration,
image
}
@@ -6,11 +6,12 @@ import { ChatCategoryEnum, ChatCategoryEnumName } from '../../index.d'
export const TableCategoryConfig: ConfigType = {
key: 'VTableCategory',
conKey: 'VCableCategory',
title: '归类表格',
category: ChatCategoryEnum.TABLE,
categoryName: ChatCategoryEnumName.TABLE,
package: PackagesCategoryEnum.TABLES,
node: TableCategory,
node: () => TableCategory,
conNode: () => Configuration,
image
}
@@ -6,11 +6,12 @@ import { ChatCategoryEnum, ChatCategoryEnumName } from '../../index.d'
export const TableCommonConfig: ConfigType = {
key: 'VTableCommon',
conKey: 'VCTableCommon',
title: '表格',
category: ChatCategoryEnum.TABLE,
categoryName: ChatCategoryEnumName.TABLE,
package: PackagesCategoryEnum.TABLES,
node: TableCommon,
node: () => TableCommon,
conNode: () => Configuration,
image
}