From 37eff5ad1659a320aa1734e1fd1145baf4e601c3 Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期四, 05 十二月 2024 13:42:23 +0800 Subject: [PATCH] Merge branch 'test' of http://47.103.154.90:83/r/WI/Web.V1.0 into test --- src/components/chat/chatComponents/common.ts | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/chat/chatComponents/common.ts b/src/components/chat/chatComponents/common.ts index 95ed285..2a7183f 100644 --- a/src/components/chat/chatComponents/common.ts +++ b/src/components/chat/chatComponents/common.ts @@ -1,8 +1,8 @@ import type * as echarts from 'echarts'; import { buildProps } from 'element-plus/es/utils/vue/props/runtime'; -import _ from 'lodash'; import type { ExtractPropTypes, PropType } from 'vue'; import { axisLabelFormatter } from '/@/utils/chart'; +import { cloneDeep } from 'lodash-es'; export const timeDataOptionToContent = (opt) => { const headerList = [opt.xAxis[0]] @@ -55,12 +55,12 @@ originData: { type: Object as PropType<any>, }, - conclusion:{ - type:Array as PropType<Array<any>> + conclusion: { + type: Array as PropType<Array<any>>, }, - isTalking:{ - type:Boolean - } + isTalking: { + type: Boolean, + }, } as const); export type ChatComPropsType = ExtractPropTypes<typeof chatComProps>; @@ -128,5 +128,5 @@ }, } as echarts.EChartsOption; - return _.cloneDeep(option); + return cloneDeep(option); }; -- Gitblit v1.9.3