From f1da05ac3d59ab039a70ab8a28387422de6560f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=9D=B0?= Date: Thu, 14 Aug 2025 16:27:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=83=85=E7=BB=AA=E5=A4=A7=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E8=82=A1=E7=A5=A8=E6=97=B6=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E5=AE=9E=E6=97=B6=E6=9B=B4=E6=96=B0=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/AiEmotion.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/views/AiEmotion.vue b/src/views/AiEmotion.vue index 97c60b7..903402e 100644 --- a/src/views/AiEmotion.vue +++ b/src/views/AiEmotion.vue @@ -1905,6 +1905,14 @@ async function handleSendMessage(input, onComplete) { console.error('更新用户次数失败:', error); } + // 重新调用获取历史记录的接口 + try { + chatStore.searchRecord = true; + console.log('getConclusionAPI成功后,已触发历史记录更新'); + } catch (error) { + console.error('触发历史记录更新失败:', error); + } + // 确保页面状态更新后触发图表渲染和音频文本 nextTick(() => {