-
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
抖音小程序使用原生组件slot时指定name无法生效 #17211
Comments
This was referenced Jan 25, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
字节跳动小程序
复现仓库
https://github.com/JankingW/taro-slot-sample.git
小程序基础库: 3.52.0.11
使用框架: React
复现步骤
期望结果
能正常展示Slot组件里的内容到原生组件slot中
实际结果
无法展示Slot内容
环境信息
补充信息
该仓库提交了最小复现的代码:https://github.com/JankingW/taro-slot-sample.git。
其中有两个提交:
一个提交是指定了slot的title,将无法展示Slot内容。
另一个提交去掉了slot的title,将可以展示Slot内容。
The text was updated successfully, but these errors were encountered: