提交 f3947474 编写于 作者: A afc163

fix checkbox demo

上级 f692e625
......@@ -49,6 +49,9 @@ var App = React.createClass({
},
onChange(e) {
console.log('checked = ', e.target.checked);
this.setState({
checked: e.target.checked
});
}
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册