index.ts
632 Bytes
import { ConfigType, PackagesCategoryEnum, ChartFrameEnum } from '@/packages/index.d'
import { ChatCategoryEnum, ChatCategoryEnumName } from '@/packages/components/Informations/index.d'
import { useWidgetKey } from '@/packages/external/useWidgetKey'
const { key, conKey, chartKey } = useWidgetKey('VariableImage', true)
export const VariableImageConfig: ConfigType = {
key,
chartKey,
conKey,
title: '变量图片(适合ws)',
category: ChatCategoryEnum.MORE,
categoryName: ChatCategoryEnumName.MORE,
package: PackagesCategoryEnum.INFORMATIONS,
chartFrame: ChartFrameEnum.COMMON,
image: 'iframe.png'
}