|
@@ -1074,7 +1074,7 @@ function checkMsgCount(acync, str, callback) {
|
|
|
} else {
|
|
|
localStorage.setItem('isMsgNum', num)
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
callback && callback()
|
|
|
}
|
|
|
})
|
|
@@ -1272,7 +1272,9 @@ function redSpotOnMenu () {
|
|
|
function redSpotBackFuc (r, flag) {
|
|
|
var noticeCount = r.notice;
|
|
|
//JyObj.getUnReadMessageCount("");
|
|
|
- checkMsgCount(false, 0)
|
|
|
+ // #fix 修复三级页同步请求导致页面白屏时间过长
|
|
|
+ var isContent = location.href.indexOf('/article/content/') === -1
|
|
|
+ checkMsgCount(isContent, 0)
|
|
|
// message红点
|
|
|
if (noticeCount > 0) {
|
|
|
$(".trigger-div-notice .dot-red").show()
|
|
@@ -1660,5 +1662,5 @@ function newVersionUpdateLog(event,new_version){
|
|
|
phonetype: getPhoneType(),//手机型号
|
|
|
system: androidVersion()
|
|
|
})
|
|
|
-
|
|
|
-}
|
|
|
+
|
|
|
+}
|