From 7357a3709ebeb22f28c17a21f103d0c715213b34 Mon Sep 17 00:00:00 2001
From: wujingjing <gersonwu@qq.com>
Date: 星期二, 31 十二月 2024 17:50:16 +0800
Subject: [PATCH] 编号、单位等

---
 src/components/chat/Chat.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/components/chat/Chat.vue b/src/components/chat/Chat.vue
index 5ad202e..0b727ce 100644
--- a/src/components/chat/Chat.vue
+++ b/src/components/chat/Chat.vue
@@ -17,7 +17,7 @@
 							srcset=""
 						/>
 						<div class="flex-auto flex" :class="{ 'justify-end': item.role === RoleEnum.user }">
-							<div class="inline-flex flex-col" :class="{ 'w-full': item.role === RoleEnum.assistant }">
+							<div class="inline-flex flex-col w-full" :class="{ 'w-full': item.role === RoleEnum.assistant }">
 								<div class="w-full" v-if="item.content?.values">
 									<div
 										class="text-sm rounded-[6px] p-4 leading-relaxed"
@@ -119,7 +119,7 @@
 									</div>
 								</div>
 
-								<Loading v-if="isTalking && index === messageList.length - 1" class="w-fit my-auto" />
+								<Loading v-if="isTalking && index === computedMessageList.length - 1" class="w-fit my-auto" />
 							</div>
 						</div>
 					</div>

--
Gitblit v1.9.3