From e605d68d59a2964b91b7474745f4dd5e18c6a79c Mon Sep 17 00:00:00 2001 From: zoujing Date: Thu, 21 May 2026 16:35:37 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A4=84=E7=90=86=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/ChatMain/ChatMainList/index.vue | 1 + src/pages/ChatModule/AnswerComponent/index.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/ChatMain/ChatMainList/index.vue b/src/pages/ChatMain/ChatMainList/index.vue index e15cf69..31d4a2c 100644 --- a/src/pages/ChatMain/ChatMainList/index.vue +++ b/src/pages/ChatMain/ChatMainList/index.vue @@ -943,6 +943,7 @@ const handleWebSocketMessage = (data) => { resetMessageState(); nextTick(() => scrollToBottom()); + console.log("消息接收完成:", JSON.stringify(chatMsgList.value[aiMsgIndex])); } }; diff --git a/src/pages/ChatModule/AnswerComponent/index.vue b/src/pages/ChatModule/AnswerComponent/index.vue index 8f5c7e4..dcf00a7 100644 --- a/src/pages/ChatModule/AnswerComponent/index.vue +++ b/src/pages/ChatModule/AnswerComponent/index.vue @@ -58,7 +58,7 @@ const props = defineProps({ const tag = computed(() => getLongTextValue(props.longTextData, "tag")); const title = computed(() => getLongTextValue(props.longTextData, "title")); const previewContent = computed(() => { - return getLongTextPreviewText(props.longTextData) || (props.content ? String(props.content) : ""); + return getLongTextPreviewText(props.longTextData, ["content"]) || (props.content ? String(props.content) : ""); }); // 处理文本内容:按行截断以保证预览最多显示三行(更贴近视觉行数)