Modal增加maskClosable={false}

master
LiuJiaNan 2025-12-05 14:56:27 +08:00
parent a4a16eb65e
commit 2a8bcd941c
4 changed files with 4 additions and 0 deletions

View File

@ -51,6 +51,7 @@ const ImportFile = (props) => {
open={visible}
onCancel={handleClose}
width={600}
maskClosable={false}
footer={[
templateUrl && (
<Button key="export" onClick={handleExportTemplate}>

View File

@ -154,6 +154,7 @@ const MapSelector = (props) => {
onCancel={handleClose}
width={1000}
destroyOnHidden={false}
maskClosable={false}
afterClose={handleAfterClose}
footer={[
<Button key="back" onClick={handleClose}>

View File

@ -91,6 +91,7 @@ function Pdf(props) {
return (
<Modal
open={visible}
maskClosable={false}
width={pdfWidth + 100}
title="PDF预览"
onCancel={onCancel}

View File

@ -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>,