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(() => {