feat:群聊问题修复+相关项目文档更新

This commit is contained in:
bujinyuan
2026-03-05 09:24:49 +08:00
parent 4f55ef6de0
commit 8ee870636c
29 changed files with 1155 additions and 225 deletions

View File

@@ -155,6 +155,7 @@ export const useChatStore = defineStore('chat', () => {
/** 加载历史消息 */
const loadHistoryMessages = async (conversationId) => {
if (!conversationId) return
const messages = messagesMap.value[conversationId] || []
const beforeId = messages.length > 0 ? messages[0].id : 0