浏览代码

提交代码

wangxiaogang 3 年之前
父节点
当前提交
b242b7edf1

+ 0 - 1
src/web/staticres/common-module/messageCenter/js/detail.js

@@ -32,7 +32,6 @@ var vm = new Vue({
     }
     this.tit = this.imgSrcs[indx - 1].title
     document.title = this.imgSrcs[indx - 1].title
-    // this.msgData()
   },
   mounted () {
     iosBackRefresh()

+ 4 - 1
src/web/staticres/common-module/messageCenter/js/index.js

@@ -19,7 +19,10 @@ var vm = new Vue({
   created() {
     this.lastMsg()
     this.msgData()
-    
+    let wxType = getType()
+    if (!wxType) {
+      checkMsgCount(true, 0)
+    }
   },
   mounted () {
     iosBackRefresh()