feat(portal): 初始化新对话时重置对话ID- 在开始新对话时将 conversationId 设置为空字符串

- 确保每次新建对话都有独立的标识符
-修复可能因对话ID重复导致的消息发送错误
This commit is contained in:
陈昱达
2025-09-29 09:36:42 +08:00
parent e1f2e91648
commit 33406f6964

View File

@@ -329,6 +329,7 @@ export default {
});
},
handleNewConversation() {
this.conversationId = ''
this.$emit('new-conversation')
}
}