mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
fix: 修改配置项目
This commit is contained in:
@@ -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
@@ -0,0 +1,7 @@
|
||||
export enum ChatCategoryEnum {
|
||||
TABLE = 'TABLE',
|
||||
}
|
||||
|
||||
export enum ChatCategoryEnumName {
|
||||
TABLE = '表格',
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
import Tables from './Tables'
|
||||
|
||||
export const TableList = [...Tables]
|
||||
Reference in New Issue
Block a user