今天在使用 wx.setTabBarBadge tabBar上的角标时 但是不知道咋把角标删除掉  可能我自己没找到 记录一下

小程序

不给值的时候会出现小红框

解决办法

wx.hideTabBarRedDot({
index: 2
})

就可以了  可能是文档写的不清楚

小程序

TAG标签: 微信小程序badge

http://www.xiaochengxub.com/read-100729.html