mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 21:19:37 +08:00
update modal custom.md
This commit is contained in:
parent
e6d92e37b1
commit
8c2c65adf4
@ -26,11 +26,11 @@ var Test = React.createClass({
|
||||
this.setState({
|
||||
ModalText: '对话框将在两秒后关闭'
|
||||
});
|
||||
setTimeout((function() {
|
||||
setTimeout(() => {
|
||||
this.setState({
|
||||
visible: false
|
||||
});
|
||||
}).bind(this), 2000);
|
||||
}, 2000);
|
||||
},
|
||||
handleCancel() {
|
||||
console.log('点击了取消');
|
||||
|
Loading…
Reference in New Issue
Block a user