-
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
map 函数里面,子组件无法正常使用 #382
Comments
有同样的困惑 |
#389 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
render 函数中,使用jsx进行map,组件使用错误
复现步骤
[复现问题的步骤]
AtIcon 是自己定义的一个组件,在map函数外面能正常使用如图1,在map函数里面无法正常调用如图2
图1:
图2:
期望行为
在map中能正常使用组件
报错信息
props 无法传递过去
系统信息
补充信息
map 时 props 无法传递
The text was updated successfully, but these errors were encountered: