-
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
百度小程序安卓端列表数据渲染下一项会覆盖上一项 #5277
Comments
CC @Chen-jj |
欢迎提交 Issue~ 如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏 如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。 Good luck and happy coding~ |
猜测该bug和百度版本有关,低版本的手百没有出现这个问题 |
我也在安卓设备上遇到了类似问题,列表页面使用子组件循环渲染时,在子组件中打印数据正常,render返回的界面不正常。如果不适用组件方式就正常。希望可以尽快排查一下这个严重BUG!! |
@AsherSun 调试了一下,Taro diff 后会按路径更新,应该是按路径 setData 时触发了百度小程序的 bug。建议换一种写法绕过,例如少开一层组件。或者用 |
如 #5277,百度安卓下按路径更新会导致奇怪的 bug,需要提供后门以绕过
如 #5277,百度安卓下按路径更新会导致奇怪的 bug,需要提供后门以绕过
如 NervJS#5277,百度安卓下按路径更新会导致奇怪的 bug,需要提供后门以绕过
问题描述
复现步骤
1.复现代码:
测试页面
list
组件listItem
组件期望行为
正常渲染
报错信息
系统信息
补充信息
IOS
手机没有这个问题‘The text was updated successfully, but these errors were encountered: