This commit is contained in:
rickcole 2020-05-08 20:45:15 +08:00
parent ee2351d212
commit 45819b22f2
1 changed files with 5 additions and 0 deletions

View File

@ -141,6 +141,11 @@ export default class Drawer extends React.Component<DrawerProps, object> {
handleSelfClose() {
const {onClose, store} = this.props;
// 如果有子弹框,那么就先不隐藏自己
if (store.dialogOpen !== false || store.drawerOpen !== false) {
return;
}
// clear error
store.updateMessage();
onClose();