Modal增加maskClosable={false}
parent
a4a16eb65e
commit
2a8bcd941c
|
|
@ -51,6 +51,7 @@ const ImportFile = (props) => {
|
|||
open={visible}
|
||||
onCancel={handleClose}
|
||||
width={600}
|
||||
maskClosable={false}
|
||||
footer={[
|
||||
templateUrl && (
|
||||
<Button key="export" onClick={handleExportTemplate}>
|
||||
|
|
|
|||
|
|
@ -154,6 +154,7 @@ const MapSelector = (props) => {
|
|||
onCancel={handleClose}
|
||||
width={1000}
|
||||
destroyOnHidden={false}
|
||||
maskClosable={false}
|
||||
afterClose={handleAfterClose}
|
||||
footer={[
|
||||
<Button key="back" onClick={handleClose}>
|
||||
|
|
|
|||
|
|
@ -91,6 +91,7 @@ function Pdf(props) {
|
|||
return (
|
||||
<Modal
|
||||
open={visible}
|
||||
maskClosable={false}
|
||||
width={pdfWidth + 100}
|
||||
title="PDF预览"
|
||||
onCancel={onCancel}
|
||||
|
|
|
|||
|
|
@ -60,6 +60,7 @@ function Signature(props) {
|
|||
title="签字"
|
||||
width={800}
|
||||
open={signatureModalOpen}
|
||||
maskClosable={false}
|
||||
onCancel={() => setSignatureModalOpen(false)}
|
||||
footer={[
|
||||
<Button key="clear" onClick={() => signatureCanvas.current.clear()}>重签</Button>,
|
||||
|
|
|
|||
Loading…
Reference in New Issue