Radio组件 当children===0时无法显示 #4874
Labels
🐛 Bug
Ant Design Team had proved that this is a bug.
help wanted
The suggestion or request has been accepted, we need you to help us by sending a pull request.
Environment(required)
What did you do? Please provide steps to re-produce your problem.
What do you expected?
正常显示 0
What happen?
这里的children判断不严谨,导致child === 0的时候会被认为没有children
link: https://github.com/ant-design/ant-design/blob/1.x-stable/components/radio/radio.jsx#L29
Re-producible online demo
http://codepen.io/anon/pen/egXJGe?editors=001
The text was updated successfully, but these errors were encountered: