bug体现:红点出现在第一个,情况是用户授权后进入首页会这样

正常应该是这样的:

全局搜索两处显示红点


没有设置在第一个tabbar显示红点的
微信小程序开发问题解答
微信小程序开发者回答:
麻烦提供能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
微信小程序开发者回答:
用这个添加文本的接口wx.setTabBarBadge就不会有刚刚的情况
本文网址:http://www.91bianli.com/weixinxiaochengxu/40374.html