From 254816a712847b099184d84ca8631a50fb32f39e Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期一, 03 三月 2025 15:24:09 +0800 Subject: [PATCH] 初步对接 --- src/components/chat/chatComponents/types.ts | 20 +++++--------------- 1 files changed, 5 insertions(+), 15 deletions(-) diff --git a/src/components/chat/chatComponents/types.ts b/src/components/chat/chatComponents/types.ts index a98a373..d25144c 100644 --- a/src/components/chat/chatComponents/types.ts +++ b/src/components/chat/chatComponents/types.ts @@ -1,18 +1,8 @@ - export const enum ChartTypeEnum { - Scatter, - Line, - Bar, + Scatter = 'scatter', + Line = 'line', + Bar = 'bar', + Score = 'score', + Pie='pie' } -export const chartTypeMapName = { - [ChartTypeEnum.Line]: '鎶樼嚎鍥�', - [ChartTypeEnum.Scatter]: '鏁g偣鍥�', - [ChartTypeEnum.Bar]: '鏌辩姸鍥�', -}; - -export const chartTypeMapEchart = { - [ChartTypeEnum.Scatter]: 'scatter', - [ChartTypeEnum.Line]: 'line', - [ChartTypeEnum.Bar]: 'bar', -}; -- Gitblit v1.9.3