feat:新增组件

This commit is contained in:
mtruning
2022-01-15 22:35:32 +08:00
parent 5843388d0b
commit fec6c6f23e
21 changed files with 191 additions and 5 deletions
@@ -0,0 +1,12 @@
import Image from './index.vue'
import image from '@/assets/images/chart/informations/photo.png'
import { ConfigType } from '@/packages/index.d'
import { ChatCategoryEnum } from '../../index.d'
export const ImageConfig: ConfigType = {
key: 'Image',
title: '图片',
category: ChatCategoryEnum.MORE,
node: Image,
image
}
@@ -0,0 +1,13 @@
<template>
<div>
词云
</div>
</template>
<script setup lang="ts">
</script>
<style lang="scss" scoped>
</style>
@@ -1,3 +1,4 @@
import { TextCloudConfig } from './TextCloud/index'
import { ImageConfig } from './Image/index'
export default [TextCloudConfig]
export default [ImageConfig, TextCloudConfig]