fix: 修改配置项目

This commit is contained in:
MTrun
2022-01-25 11:09:32 +08:00
parent bb7aa78738
commit 663ef6f2a6
78 changed files with 86 additions and 55 deletions
@@ -0,0 +1,14 @@
import TableCategory from './index.vue'
import image from '@/assets/images/chart/Tables/tables_categary.png'
import { ConfigType, PackagesCategoryEnum } from '@/packages/index.d'
import { ChatCategoryEnum, ChatCategoryEnumName } from '../../index.d'
export const TableCategoryConfig: ConfigType = {
key: 'VTableCategory',
title: '归类表格',
category: ChatCategoryEnum.TABLE,
categoryName: ChatCategoryEnumName.TABLE,
package: PackagesCategoryEnum.TABLES,
node: TableCategory,
image
}
@@ -0,0 +1,13 @@
<template>
<div>
表格
</div>
</template>
<script setup lang="ts">
</script>
<style lang="scss" scoped>
</style>
@@ -0,0 +1,4 @@
import { TableCommonConfig } from './TableCommon'
import { TableCategoryConfig } from './TableCategory'
export default [TableCommonConfig, TableCategoryConfig]
@@ -0,0 +1,14 @@
import TableCommon from './index.vue'
import image from '@/assets/images/chart/Tables/tables.png'
import { ConfigType, PackagesCategoryEnum } from '@/packages/index.d'
import { ChatCategoryEnum, ChatCategoryEnumName } from '../../index.d'
export const TableCommonConfig: ConfigType = {
key: 'VTableCommon',
title: '表格',
category: ChatCategoryEnum.TABLE,
categoryName: ChatCategoryEnumName.TABLE,
package: PackagesCategoryEnum.TABLES,
node: TableCommon,
image
}
@@ -0,0 +1,13 @@
<template>
<div>
表格
</div>
</template>
<script setup lang="ts">
</script>
<style lang="scss" scoped>
</style>
+7
View File
@@ -0,0 +1,7 @@
export enum ChatCategoryEnum {
TABLE = 'TABLE',
}
export enum ChatCategoryEnumName {
TABLE = '表格',
}
+3
View File
@@ -0,0 +1,3 @@
import Tables from './Tables'
export const TableList = [...Tables]