From c89d1d1fe4e820bc9d1a942467a3f1e017b40dac Mon Sep 17 00:00:00 2001
From: wujingjing <gersonwu@qq.com>
Date: 星期三, 06 十一月 2024 16:33:36 +0800
Subject: [PATCH] 无关代码删除

---
 src/components/chat/Chat.vue                                 |    9 +++------
 src/components/chat/chatComponents/summaryCom/SummaryCom.vue |    2 +-
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/src/components/chat/Chat.vue b/src/components/chat/Chat.vue
index ae163a0..bff5473 100644
--- a/src/components/chat/Chat.vue
+++ b/src/components/chat/Chat.vue
@@ -56,7 +56,9 @@
 														<span class="ywifont ywicon-loading1 animate-spin !text-[24px]"></span>
 													</template>
 													<template #title>
-														<span class="text-sm">{{ subItem.title }}<span v-if="subItem.ms" class="text-green-600">{{ `锛�${subItem.ms}锛塦 }}</span></span>
+														<span class="text-sm"
+															>{{ subItem.title }}<span v-if="subItem.ms" class="text-green-600">{{ `锛�${subItem.ms}锛塦 }}</span></span
+														>
 													</template>
 												</el-step>
 											</el-steps>
@@ -440,8 +442,6 @@
 			const currentTimeStamp = new Date().getTime();
 			const ms = toMyFixed(currentTimeStamp - lastTimestamp, 2) + ' ms';
 			if (chunkRes.mode === 'finish') {
-				const title = stepList.at(-1).title;
-				// stepList.at(-1).title = `${title}锛�${ms}锛塦;
 				stepList.at(-1).ms = ms;
 
 				isTalking.value = false;
@@ -449,10 +449,7 @@
 			}
 
 			if (stepList?.length >= 1) {
-				const title = stepList.at(-1).title;
-				// stepList.at(-1).title = `${title}锛�${ms}锛塦;
 				stepList.at(-1).ms = ms;
-
 			}
 			lastTimestamp = currentTimeStamp;
 
diff --git a/src/components/chat/chatComponents/summaryCom/SummaryCom.vue b/src/components/chat/chatComponents/summaryCom/SummaryCom.vue
index 1dbbf0c..c779657 100644
--- a/src/components/chat/chatComponents/summaryCom/SummaryCom.vue
+++ b/src/components/chat/chatComponents/summaryCom/SummaryCom.vue
@@ -26,7 +26,7 @@
 							<span>
 								{{ toggleReportLabel(item) }}
 							</span>
-							<span class="ywifont" :class="{ 'ywicon-unfold': !item.stepIsShow, 'ywicon-fold': item.stepIsShow }"></span>
+							<span class="ywifont" :class="{ 'ywicon-unfold': !item.reportIsShow, 'ywicon-fold': item.reportIsShow }"></span>
 						</div>
 					</div>
 

--
Gitblit v1.9.3