前端:
新增添加好友功能 修复给联系人发消息时跳转空会话的情况 修复了已知问题 后端: 修复了已知问题
This commit is contained in:
@@ -36,6 +36,7 @@ export const useChatStore = defineStore('chat', {
|
||||
this.messages = [];
|
||||
//先从浏览器缓存加载一部分消息列表
|
||||
const localHistory = await messagesDb.getPageMessages(sessionId, new Date().toISOString(), this.pageSize);
|
||||
console.log(localHistory)
|
||||
if (localHistory.length > 0) {
|
||||
this.messages = localHistory;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user