From 8572e2e0c1655f1cf2a71da6b80ce132cbf545e6 Mon Sep 17 00:00:00 2001 From: gerson <1405270578@qq.com> Date: 星期日, 09 二月 2025 21:13:14 +0800 Subject: [PATCH] 主题设置问题 --- src/components/chat/chatComponents/common.ts | 19 ++++++++++++++----- 1 files changed, 14 insertions(+), 5 deletions(-) diff --git a/src/components/chat/chatComponents/common.ts b/src/components/chat/chatComponents/common.ts index 14cbd0f..7cfb2bf 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,9 +55,18 @@ originData: { type: Object as PropType<any>, }, - conclusion:{ - type:Array as PropType<Array<any>> - } + conclusion: { + type: Array as PropType<Array<any>>, + }, + isTalking: { + type: Boolean, + }, + reportIndex: { + type: Number, + }, + historyId: { + type: String, + }, } as const); export type ChatComPropsType = ExtractPropTypes<typeof chatComProps>; @@ -125,5 +134,5 @@ }, } as echarts.EChartsOption; - return _.cloneDeep(option); + return cloneDeep(option); }; -- Gitblit v1.9.3