fix(home): 使用messageId代替conversationId作为单条AI消息唯一标识
This commit is contained in:
parent
76fc04f758
commit
07a649b4be
|
|
@ -947,7 +947,7 @@ export default {
|
||||||
// 创建AI回复消息对象
|
// 创建AI回复消息对象
|
||||||
const aiMessage = {
|
const aiMessage = {
|
||||||
id:
|
id:
|
||||||
data.conversationId ||
|
data.messageId ||
|
||||||
Math.random().toString(36).substring(2, 15),
|
Math.random().toString(36).substring(2, 15),
|
||||||
message: data.content,
|
message: data.content,
|
||||||
sendDate: "",
|
sendDate: "",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue