消息数量刷新优化

This commit is contained in:
Dev
2026-10-19 16:26:50 +08:00
parent d34cab0145
commit 8c1b97af8e
2 changed files with 25 additions and 18 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ App({
onHide: function () {},
globalData: {
unread: 0, //未读消息数(tabbar红点共享缓存)
unreadFetchedAt: 0, //上次拉取未读数的时间,各 tabBar 实例共用,避免切 Tab 重复请求
unreadSeq: 0, //未读数写入序号,用来丢弃过期响应
appShowAt: 0, //最近一次 App.onShow 的时间
refreshDemandId: 0, //操作后需要刷新状态的需求ID(跨页面通知列表页)
},