-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
PickerView 嵌套 13 层 View 触发控制台报错 #14883
Comments
可以用这个 github 项目试下,能复现 https://github.com/crazyair/taro-picker-demo |
复现了 |
感谢 |
因为自定义组件也有 3-4 层 View,能不能在组件最外面以及最里面包 CustomWrapper 来避免层级超过 16?另外 CustomerWrapper 包太多次,会不会有其他性能问题 |
看了一下,发现是模板代码里的 utils.wxs 里面有一个判断有问题,导致 PickerViewColumn 里的 Block 节点模板没有找到,下一个版本会修复,目前暂时通过 @TheKonka 老哥所说的,配置 baseLevel 暂时解决吧 |
相关平台
微信小程序
小程序基础库: latest
使用框架: React
复现步骤
使用下面代码调试
期望结果
无报错
实际结果
控制台报错,页面不显示
环境信息
The text was updated successfully, but these errors were encountered: