uni.setTabBarBadge(OBJECT)
显示数字
uni.removeTabBarBadge(OBJECT)
移除数字
uni.showTabBarRedDot(OBJECT)
显示红点
uni.hideTabBarRedDot(OBJECT)
隐藏红点
uni.setTabBarBadge({
index: 2,
text: '999'
})
uni.removeTabBarBadge({
index: 2
})
uni.showTabBarRedDot({
index: 0,
text: ''
})
uni.hideTabBarRedDot({
index: 0,
})