提交 4bf5e4e3 编写于 作者: Y yiminghe

fix children map

上级 5022bfef
......@@ -34,7 +34,7 @@ export default React.createClass({
},
render: function () {
var props = this.props;
var children = props.children.map((radio) => {
var children = React.Children.map(props.children, (radio) => {
if (radio.props) {
return <Radio
key={radio.props.value}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册