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() {
|
close() {
|
||||||
this.setState({
|
this.setState({
|
||||||
visible: false
|
visible: false,
|
||||||
|
data: {
|
||||||
|
title: '',
|
||||||
|
closeOnClick: false,
|
||||||
|
content: ''
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
static show(data) {
|
static show(data) {
|
||||||
|
|||||||
Reference in New Issue
Block a user