From 10f358c40b2b2cae8ef3ec9ef9273b38c4cf3505 Mon Sep 17 00:00:00 2001 From: yangzhe Date: Thu, 19 Mar 2026 15:26:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E6=B6=88=E6=81=AF=E6=98=BE=E7=A4=BA=E6=9D=A1=E4=BB=B6=E5=8F=8A?= =?UTF-8?q?AI=E6=B6=88=E6=81=AFID=E8=B5=8B=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/home/index/index.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pages/home/index/index.vue b/pages/home/index/index.vue index 4f9a8dd..39fc0e9 100644 --- a/pages/home/index/index.vue +++ b/pages/home/index/index.vue @@ -231,7 +231,9 @@ @@ -1182,6 +1184,7 @@ export default { if (res.succeed) { console.log("hotQuestionsDetail.....", res.data); this.currentDMid = res.data.dmId; + const messageId = res.data.messageId; const data = res.data.entityInfo; // 从消息列表中移除加载状态消息 @@ -1200,7 +1203,7 @@ export default { // 创建AI回复消息对象 const aiMessage = { - id: data.id || Math.random().toString(36).substring(2, 15), + id: messageId || Math.random().toString(36).substring(2, 15), message: message, sendDate: "", isSend: true,