From bf57fe6ca479f5263e0ba4e5e840d8ae1184a80f Mon Sep 17 00:00:00 2001 From: zoujing Date: Fri, 27 Mar 2026 01:00:26 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=B0=86=E5=8A=A0=E8=BD=BD=E4=B8=AD?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E6=80=9D=E8=80=83=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/index/components/chat/ChatCardAi/index.vue | 2 +- src/pages/index/components/chat/ChatMainList/index.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/index/components/chat/ChatCardAi/index.vue b/src/pages/index/components/chat/ChatCardAi/index.vue index aa390e8..4c13597 100644 --- a/src/pages/index/components/chat/ChatCardAi/index.vue +++ b/src/pages/index/components/chat/ChatCardAi/index.vue @@ -46,7 +46,7 @@ const processedText = computed(() => { const textStr = String(props.text); // 处理加载状态的文本 - if (textStr.includes("加载中") || textStr.includes("...")) { + if (textStr.includes("思考中") || textStr.includes("...")) { return textStr; } diff --git a/src/pages/index/components/chat/ChatMainList/index.vue b/src/pages/index/components/chat/ChatMainList/index.vue index 6183ef3..8ed813e 100644 --- a/src/pages/index/components/chat/ChatMainList/index.vue +++ b/src/pages/index/components/chat/ChatMainList/index.vue @@ -820,7 +820,7 @@ const sendChat = async (message, isInstruct = false) => { const aiMsg = { msgId: `msg_${chatMsgList.value.length}`, msgType: MessageRole.AI, - msg: "加载中", + msg: "思考中", isLoading: true, messageId: currentSessionMessageId, replyMessageId: '', @@ -892,7 +892,7 @@ const stopRequest = async () => { chatMsgList.value[aiMsgIndex].isLoading = false; if (chatMsgList.value[aiMsgIndex].msg && chatMsgList.value[aiMsgIndex].msg.trim() && - !chatMsgList.value[aiMsgIndex].msg.startsWith("加载中")) { + !chatMsgList.value[aiMsgIndex].msg.startsWith("思考中")) { // 保留已显示内容 } else { chatMsgList.value[aiMsgIndex].msg = "请求已停止";