Update snippets/ModalDialog.md
Co-Authored-By: zhongdeming428 <zhongdeming428@163.com>
This commit is contained in:
@ -103,7 +103,12 @@ class Dialog extends React.Component {
|
||||
}
|
||||
close() {
|
||||
this.setState({
|
||||
visible: false
|
||||
visible: false,
|
||||
data: {
|
||||
title: '',
|
||||
closeOnClick: false,
|
||||
content: ''
|
||||
}
|
||||
});
|
||||
}
|
||||
static show(data) {
|
||||
|
||||
Reference in New Issue
Block a user