fix(chat): 🐛 fix unread count not initialized

This commit is contained in:
Dawn
2025-11-04 15:43:59 +08:00
parent 712c1df912
commit c7d73bf1f4
+3
View File
@@ -336,6 +336,9 @@ export const useChatStore = defineStore(
}
sortAndUniqueSessionList()
// 获取会话列表后,更新全局未读计数以确保同步
updateTotalUnreadCount()
} catch (e) {
console.error('获取会话列表失败11:', e)
sessionOptions.isLoading = false