From 47b612ba6ef22ced83e3a799958a9e494b692454 Mon Sep 17 00:00:00 2001 From: yangyin <1850366751@qq.com> Date: 星期三, 16 十月 2024 09:48:28 +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