-
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状态切换错误 #17293
Comments
This was referenced Feb 15, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
微信小程序
复现仓库
http://192.168.100.166/rankaifeng/py_smart_system_app.git
小程序基础库: 3.7.7
使用框架: React
复现步骤
https://github.com/NervJS/taro/tree/main/examples/custom-tabbar-react 复制这个代码
比如我下面有两个导航栏 当我点击第一个导航的时候 selected变成了1 但是页面会切换到第二个选中状态 然后又变成了第一个状态
这就导致 页面路由变了 但是底部导航的状态没变
期望结果
底部状态可以根据点击的index进行改变
实际结果
先切换一个状态 然后突然又回到了初始状态
环境信息
The text was updated successfully, but these errors were encountered: