mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 04:30:06 +08:00
fix: Modal[footer] could be set to null to hide totally, close: #5462
This commit is contained in:
parent
ee2f025585
commit
43b155e7f6
@ -161,7 +161,7 @@ export default class Modal extends React.Component<ModalProps, any> {
|
||||
return (
|
||||
<Dialog
|
||||
onClose={this.handleCancel}
|
||||
footer={footer || defaultFooter}
|
||||
footer={footer === undefined ? defaultFooter : footer}
|
||||
{...this.props}
|
||||
visible={visible}
|
||||
mousePosition={mousePosition}
|
||||
|
Loading…
Reference in New Issue
Block a user