zhaoxiaohai 2 năm trước cách đây
mục cha
commit
bf7c81afa7
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      custom-tab-bar/index.js

+ 1 - 0
custom-tab-bar/index.js

@@ -91,6 +91,7 @@ Component({
                 }
             }, false).then(res => {
                 if (res.msg != '成功') return;
+                if (res.data.fcount == 0) return;
                 if (res.data.fcount > 99) res.data.fcount = '99+';
                 this.setData({
                     'tabbarList[1].fcount': res.data.fcount