mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
feat: 新增左侧图表数据
This commit is contained in:
@@ -3,10 +3,10 @@ import image from '@/assets/images/chart/informations/text_static.png'
|
||||
import { ConfigType } from '@/packages/index.d'
|
||||
import { ChatCategoryEnum } from '../../index.d'
|
||||
|
||||
export const textCommonConfig: ConfigType = {
|
||||
export const TextCommonConfig: ConfigType = {
|
||||
key: 'Text',
|
||||
title: '文字',
|
||||
category: ChatCategoryEnum.text,
|
||||
category: ChatCategoryEnum.TEXT,
|
||||
node: TextCommon,
|
||||
image
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
import { textCommonConfig } from './TextCommon/index'
|
||||
import { TextCommonConfig } from './TextCommon/index'
|
||||
|
||||
export default [textCommonConfig]
|
||||
export default [TextCommonConfig]
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
import TitleCommon from './index.vue'
|
||||
import image from '@/assets/images/chart/informations/title_diamond.png'
|
||||
import { ConfigType } from '@/packages/index.d'
|
||||
import { ChatCategoryEnum } from '../../index.d'
|
||||
|
||||
export const TitleCommonConfig: ConfigType = {
|
||||
key: 'Text',
|
||||
title: '标题',
|
||||
category: ChatCategoryEnum.TITLE,
|
||||
node: TitleCommon,
|
||||
image
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
<template>
|
||||
<div>
|
||||
标题
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
</style>
|
||||
@@ -0,0 +1,3 @@
|
||||
import { TitleCommonConfig } from './TitleCommon/index'
|
||||
|
||||
export default [TitleCommonConfig]
|
||||
+2
-1
@@ -1,3 +1,4 @@
|
||||
export enum ChatCategoryEnum {
|
||||
text = '文本',
|
||||
TEXT = '文本',
|
||||
TITLE = '标题'
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
import Texts from './Texts'
|
||||
import Titles from './Titles'
|
||||
|
||||
export const InformationList = [...Texts]
|
||||
export const InformationList = [...Texts, ...Titles]
|
||||
|
||||
Reference in New Issue
Block a user