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