From a3e8f86c98da5d5c13eece8af52a4f6ea95edb48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=9D=B0?= Date: Fri, 22 Aug 2025 14:55:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E9=94=99=E6=8F=90=E7=A4=BA=E8=AF=AD?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/AIchat.vue | 16 ++++++++-------- src/views/AiEmotion.vue | 20 ++++++++++---------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/views/AIchat.vue b/src/views/AIchat.vue index c389ce2..d54adf8 100644 --- a/src/views/AIchat.vue +++ b/src/views/AIchat.vue @@ -747,7 +747,7 @@ const createTypingEffect = (message, content, speed) => { class: "ing", type: "ing", flag: false, - content: "工作流返回出错,请稍后重试", + content: "系统正在为您努力加载中,请稍后再试", }); chatStore.isLoading = false; chatStore.chatInput = false; @@ -881,7 +881,7 @@ const createTypingEffect = (message, content, speed) => { class: "ing", type: "ing", flag: false, - content: "工作流返回出错,请稍后重试", + content: "系统正在为您努力加载中,请稍后再试", }); chatStore.isLoading = false; chatStore.chatInput = false; @@ -915,7 +915,7 @@ const createTypingEffect = (message, content, speed) => { class: "ing", type: "ing", flag: false, - content: "工作流返回出错,请稍后重试", + content: "系统正在为您努力加载中,请稍后再试", }); chatStore.isLoading = false; chatStore.chatInput = false; @@ -1228,7 +1228,7 @@ watch( class: "ing", type: "ing", flag: false, - content: "工作流返回出错,请稍后重试", + content: "系统正在为您努力加载中,请稍后再试", }); chatStore.isLoading = false; chatStore.chatInput = false; @@ -1824,7 +1824,7 @@ watch( class: "ing", type: "ing", flag: false, - content: "工作流返回出错,请稍后重试", + content: "系统正在为您努力加载中,请稍后再试", }); chatStore.isLoading = false; chatStore.chatInput = false; @@ -1934,7 +1934,7 @@ watch( class: "ing", type: "ing", flag: false, - content: "工作流返回出错,请稍后重试", + content: "系统正在为您努力加载中,请稍后再试", }); chatStore.isLoading = false; chatStore.chatInput = false; @@ -2133,7 +2133,7 @@ watch( class: "ing", type: "ing", flag: false, - content: "工作流返回出错,请稍后重试1111", + content: "系统正在为您努力加载中,请稍后再试", }); chatStore.isLoading = false; chatStore.chatInput = false; @@ -2278,7 +2278,7 @@ watch( class: "ing", type: "ing", flag: false, - content: "工作流返回出错,请稍后重试", + content: "系统正在为您努力加载中,请稍后再试", }); chatStore.isLoading = false; chatStore.chatInput = false; diff --git a/src/views/AiEmotion.vue b/src/views/AiEmotion.vue index fd9af0b..4ff2cd2 100644 --- a/src/views/AiEmotion.vue +++ b/src/views/AiEmotion.vue @@ -2172,7 +2172,7 @@ async function handleSendMessage(input, onComplete) { // 关闭加载状态和等待提示,返回refuse信息,停止图片旋转,恢复历史数据 // isLoading.value = false; isPageLoaded.value = false; - const refuseMessage = response && response.msg ? response.msg : "接口返回数据异常,请重试"; + const refuseMessage = response && response.msg ? response.msg : "系统正在为您努力加载中,请稍后再试"; const aiMessage = reactive({ sender: "ai", text: processRefuseMessage(refuseMessage), @@ -2279,7 +2279,7 @@ async function handleSendMessage(input, onComplete) { } // 使用getConclusionAPI返回的msg在对话界面中输出 - const errorMsg = conclusionResponse.msg || "第二个接口请求失败"; + const errorMsg = conclusionResponse.msg || "系统正在为您努力加载中,请稍后再试"; const aiMessage = reactive({ sender: "ai", text: errorMsg, @@ -2410,7 +2410,7 @@ async function handleSendMessage(input, onComplete) { if (!conclusionResponse || !conclusionResponse.data) { const aiMessage = reactive({ sender: "ai", - text: "网络加载失败,请重试", + text: "系统正在为您努力加载中,请稍后再试", }); messages.value.push(aiMessage); } @@ -2569,14 +2569,14 @@ async function fetchData(code, market, stockName, queryText, stockId, presetUniq const aiMessage = reactive({ sender: "ai", - text: `数据丢失了,请稍后重试。`, + text: `系统正在为您努力加载中,请稍后再试`, }); messages.value.push(aiMessage); // 将AI消息添加到emotion store中 emotionStore.addConversation({ sender: "ai", - text: "数据丢失了,请稍后重试。", + text: "系统正在为您努力加载中,请稍后再试", timestamp: new Date().toISOString(), }); return false; // 返回失败标识,不添加股票到标签 @@ -2630,14 +2630,14 @@ async function fetchData(code, market, stockName, queryText, stockId, presetUniq const aiMessage = reactive({ sender: "ai", - text: "图表数据请求失败,请检查网络连接", + text: "系统正在为您努力加载中,请稍后再试", }); messages.value.push(aiMessage); // 将AI消息添加到emotion store中 emotionStore.addConversation({ sender: "ai", - text: "图表数据请求失败,请检查网络连接", + text: "系统正在为您努力加载中,请稍后再试", timestamp: new Date().toISOString(), }); return false; // 返回失败标识 @@ -2674,14 +2674,14 @@ async function fetchData(code, market, stockName, queryText, stockId, presetUniq const aiMessage = reactive({ sender: "ai", - text: "图表数据请求失败,请检查网络连接", + text: "系统正在为您努力加载中,请稍后再试", }); messages.value.push(aiMessage); // 将AI消息添加到emotion store中 emotionStore.addConversation({ sender: "ai", - text: "图表数据请求失败,请检查网络连接", + text: "系统正在为您努力加载中,请稍后再试", timestamp: new Date().toISOString(), }); return false; // 返回失败标识 @@ -2960,7 +2960,7 @@ function renderCharts(data) { // 将AI消息添加到emotion store中 emotionStore.addConversation({ sender: "ai", - text: "图表渲染失败,请重试", + text: "系统正在为您努力加载中,请稍后再试", timestamp: new Date().toISOString(), }); }