Update snippets/ModalDialog.md
Co-Authored-By: zhongdeming428 <zhongdeming428@163.com>
This commit is contained in:
@ -110,7 +110,7 @@ class Dialog extends React.Component {
|
||||
}));
|
||||
}
|
||||
modalClick() {
|
||||
if (this.props.clickModal2Hide) this.close();
|
||||
if (this.props.closeOnClick) this.close();
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user