fix: 去除配置文件里的 node 指向

This commit is contained in:
MTrun
2022-03-10 20:05:05 +08:00
parent a1a2e260f6
commit d1c0cae68e
20 changed files with 49 additions and 107 deletions
@@ -1,17 +1,14 @@
import TextCommon from './index.vue'
import Configuration from './config.vue'
import image from '@/assets/images/chart/informations/text_static.png'
import { ConfigType, PackagesCategoryEnum } from '@/packages/index.d'
import { ChatCategoryEnum,ChatCategoryEnumName } from '../../index.d'
export const TextCommonConfig: ConfigType = {
key: 'VText',
conKey: 'VCText',
key: 'TextCommon',
chartKey: 'VTextCommon',
conKey: 'VCTextCommon',
title: '文字',
category: ChatCategoryEnum.TEXT,
categoryName: ChatCategoryEnumName.TEXT,
package: PackagesCategoryEnum.INFORMATION,
node: () => TextCommon,
conNode: () => Configuration,
image
}