-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
自定义tabbar setData切换选中态无效 #7134
Comments
taro-bot2
bot
added
F-react
Framework - React
T-weapp
Target - 编译到微信小程序
V-2
Version - 2.x
labels
Jul 22, 2020
我记得有个api能拿到当前自定义tabbar实例,里面有tabbar.setData方法。不过自定义tabbar这一块是陈年老坑了,没点毅力填不完 |
@Iurmy 我就是这么写的,但是不行,Taro3 也试过不行
|
同问解决了吗 |
没有,但随着微信版本升级,这个问题好像没遇到过了 |
同问 |
具体如何设置呢?还没太看懂。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
微信小程序
复现仓库
https://github.com/SherlockHomer/taro-2.0.5
小程序基础库: 2.10.1
使用框架: React
复现步骤
期望结果
切换tabbar,选中态正常
实际结果
切换tabbar,选中态错误
环境信息
补充信息
微信官方demo 实践正确
https://developers.weixin.qq.com/miniprogram/dev/framework/ability/custom-tabbar.html
The text was updated successfully, but these errors were encountered: