From 59876b72c58ac87a303995adccfaefdb74861422 Mon Sep 17 00:00:00 2001 From: yangyin <1850366751@qq.com> Date: 星期二, 05 十一月 2024 09:30:07 +0800 Subject: [PATCH] Merge branch 'test' of http://47.103.154.90:83/r/WI/Web.V1.0 into test --- src/components/chat/Chat.vue | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/components/chat/Chat.vue b/src/components/chat/Chat.vue index e0cbd44..6732103 100644 --- a/src/components/chat/Chat.vue +++ b/src/components/chat/Chat.vue @@ -49,10 +49,9 @@ :title="subItem.title" :status="stepEnumMap[subItem.status]" > - <!-- <template #icon> - <span v-if="subItem.status === StepEnum.Loading" class="ywifont ywicon-loading animate-spin"></span> - <span v-else class="ywifont ywicon-loading1 animate-spin"></span> - </template> --> + <template #icon v-if="index + 1 === item.stepList.length && isTalking"> + <span class="ywifont ywicon-loading1 animate-spin !text-[24px]"></span> + </template> <template #title> <span class="text-sm">{{ subItem.title }}</span> </template> @@ -354,7 +353,6 @@ let finalCalcSectionAId = null; const questionAi = async (text, assistantMsg: ChatMessage) => { - // processId.value = uuidv4(); let judgeParams = null; if (!preQuestion.value) { // const aiContent = computedMessageList.value.filter((item) => item.role === RoleEnum.assistant); -- Gitblit v1.9.3