fix(home): 使用messageId代替conversationId作为单条AI消息唯一标识

This commit is contained in:
yangzhe 2025-12-31 15:30:35 +08:00
parent 76fc04f758
commit 07a649b4be
1 changed files with 1 additions and 1 deletions

View File

@ -947,7 +947,7 @@ export default {
// AI
const aiMessage = {
id:
data.conversationId ||
data.messageId ||
Math.random().toString(36).substring(2, 15),
message: data.content,
sendDate: "",