这两个API同时使用修改某一个tab的值时,安卓机(微信版本6.7.3)上预览没问题。IOS(版本12.1.2)手机上微信(7.0.1)预览时,badge一闪就没有了。两个API单独调用没有问题。
麻烦提供能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
复现问题的代码片段 https://developers.weixin.qq.com/s/xP2871m37y5z