@ -26,12 +26,6 @@ var Test = React.createClass({
visible: false
});
},
handleCancel() {
console.log('点击了取消');
this.setState({
render() {
return <div>
<button className="ant-btn ant-btn-primary" onClick={this.showModal}>显示对话框</button>
@ -34,9 +34,6 @@ var Test = React.createClass({
@ -12,8 +12,7 @@ export default React.createClass({
var d = this.refs.d;
d.requestClose();
this.refs.d.requestClose();
getDefaultProps() {