From 9a552e21711626af15ff36b298bcbe4422021f02 Mon Sep 17 00:00:00 2001 From: gerson <1405270578@qq.com> Date: 星期五, 24 一月 2025 10:20:19 +0800 Subject: [PATCH] 完成loading 显示 --- src/components/chat/assistant/index.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/chat/assistant/index.vue b/src/components/chat/assistant/index.vue index 8ae6578..37481ef 100644 --- a/src/components/chat/assistant/index.vue +++ b/src/components/chat/assistant/index.vue @@ -51,7 +51,7 @@ :title="subItem.title" :status="stepEnumMap[subItem.status]" > - <template #icon v-if="stepIndex + 1 === msg?.stepGroup?.[index].value.length && isTalking && isLast"> + <template #icon v-if="stepIndex + 1 === msg?.stepGroup?.[index].value.length && isTalking && isLast&&(subItem.finishLoading===false || subItem.finishLoading===undefined)"> <span class="ywifont ywicon-loading1 animate-spin !text-[24px]"></span> </template> <template #title> @@ -87,7 +87,7 @@ 涓轰簡瑙e喅杩欎釜闂锛岀瓑鍒� msg.historyId 瀛樺湪鏃讹紝鍐嶆覆鏌� recordSetTable --> <component - v-if="msg.content?.values?.[index] && msg.historyId && msg.content?.errCode !== ErrorCode.Message" + v-if="msg.content?.values?.[index] && msg.content?.errCode !== ErrorCode.Message" :reportIndex="index" :conclusion="msg.content.values[index].conclusion" :is="answerTypeMapCom[msg.content.values[index].content.type]" -- Gitblit v1.9.3