mirror of
https://github.com/HuLaSpark/HuLa.git
synced 2026-09-21 12:43:20 +08:00
fix(chat): 🐛 fix unread count not initialized
This commit is contained in:
@@ -336,6 +336,9 @@ export const useChatStore = defineStore(
|
||||
}
|
||||
|
||||
sortAndUniqueSessionList()
|
||||
|
||||
// 获取会话列表后,更新全局未读计数以确保同步
|
||||
updateTotalUnreadCount()
|
||||
} catch (e) {
|
||||
console.error('获取会话列表失败11:', e)
|
||||
sessionOptions.isLoading = false
|
||||
|
||||
Reference in New Issue
Block a user