From 6dc8a04ea58dbcf253104504f1507997cc866ee6 Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期一, 21 十月 2024 15:08:34 +0800 Subject: [PATCH] 更新对话组件 --- src/components/chat/chatComponents/types.ts | 15 ++++++--------- 1 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/components/chat/chatComponents/types.ts b/src/components/chat/chatComponents/types.ts index a98a373..a16fc65 100644 --- a/src/components/chat/chatComponents/types.ts +++ b/src/components/chat/chatComponents/types.ts @@ -1,18 +1,15 @@ - export const enum ChartTypeEnum { - Scatter, - Line, - Bar, + Scatter = 'scatter', + Line = 'line', + Bar = 'bar', + Score = 'score' } export const chartTypeMapName = { [ChartTypeEnum.Line]: '鎶樼嚎鍥�', [ChartTypeEnum.Scatter]: '鏁g偣鍥�', [ChartTypeEnum.Bar]: '鏌辩姸鍥�', + [ChartTypeEnum.Score]: '', + }; -export const chartTypeMapEchart = { - [ChartTypeEnum.Scatter]: 'scatter', - [ChartTypeEnum.Line]: 'line', - [ChartTypeEnum.Bar]: 'bar', -}; -- Gitblit v1.9.3