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