perf(export): batch message count retrieval for large session lists

This commit is contained in:
tisonhuang committed 2026-03-04 21:16:40 +08:00
1 parent a8eb0057e3
commit 5147b3f0e4
6 files changed
+81 -12

No files matched your search

+1
View File
@@ -7,6 +7,7 @@ export interface ChatSession {
sortTimestamp: number // 用于排序
lastTimestamp: number // 用于显示时间
lastMsgType: number
messageCountHint?: number // 会话总消息数提示(若底层直接可取)
displayName?: string
avatarUrl?: string
lastMsgSender?: string