消息数量刷新优化
This commit is contained in:
@@ -62,7 +62,7 @@ App({
|
||||
onHide: function () {},
|
||||
globalData: {
|
||||
unread: 0, //未读消息数(tabbar红点共享缓存)
|
||||
unreadFetchedAt: 0, //上次拉取未读数的时间,各 tabBar 实例共用,避免切 Tab 重复请求
|
||||
unreadSeq: 0, //未读数写入序号,用来丢弃过期响应
|
||||
appShowAt: 0, //最近一次 App.onShow 的时间
|
||||
refreshDemandId: 0, //操作后需要刷新状态的需求ID(跨页面通知列表页)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user