Parcourir la source

重新进入小程序时,暂未加载到登录信息,导致没有执行 getUnReadMsgCount

shizhongqi il y a 11 mois
Parent
commit
7d3e719b85
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      mallApp/src/pages/home/recent.vue

+ 1 - 0
mallApp/src/pages/home/recent.vue

@@ -248,6 +248,7 @@ export default {
       this.getUnReadMsgCount()
     } else {
       this.loginStyle = 0;
+      this.getUnReadMsgCount()
     }
     if (this.pageAction.refresh == 1) {
       this.init();