@@ -99,6 +99,9 @@ Component({
"content": {}
}).then(res => {
if (res.msg != '成功') console.log('未读消息数量查询失败')
+ if (res.data[0].fcount == 0) return this.setData({
+ "tabbarList[3].fcount": ""
+ })
this.setData({
"tabbarList[3].fcount": res.data[0].fcount
})