From 5c9d412ec380f56ae00aa45cd71af7dc56c2834c Mon Sep 17 00:00:00 2001
From: wujingjing <gersonwu@qq.com>
Date: 星期二, 15 四月 2025 18:44:25 +0800
Subject: [PATCH] bottom

---
 src/components/chat/components/ChatContainer.vue |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/components/chat/components/ChatContainer.vue b/src/components/chat/components/ChatContainer.vue
index 404af42..bd4af00 100644
--- a/src/components/chat/components/ChatContainer.vue
+++ b/src/components/chat/components/ChatContainer.vue
@@ -66,7 +66,7 @@
 </template>
 
 <script setup lang="ts">
-import { onActivated, onDeactivated, ref } from 'vue';
+import { onActivated, onDeactivated, ref, toRef, toRefs } from 'vue';
 import { useChatWidth } from '../hooks/useChatWidth';
 import { useScroll } from '../hooks/useScroll';
 import type { QuestionLifecycle } from '../types';
@@ -76,11 +76,14 @@
 	loading?: boolean;
 	moreIsLoading?: boolean;
 	isSharePage?: boolean;
+	isTalking?: boolean;
 }>();
 
 const emit = defineEmits<{
 	autoSendMessage: [string, QuestionLifecycle];
 }>();
+
+const { isTalking } = toRefs(props);
 
 const chatListDom = ref<HTMLDivElement>();
 const { openDigitalHuman, isHumanTalking, humanIsLoading, digitalHumanIsShow, closeDigitalHuman, digitalHumanWidth } = useDigitalHuman(
@@ -93,6 +96,7 @@
 );
 const { scrollToBottom, isBottom } = useScroll({
 	chatListDom,
+	isTalking: isTalking,
 });
 
 const fileContentIsShow = ref(false);

--
Gitblit v1.9.3