兼容Modal属性

This commit is contained in:
whyour
2022-09-17 22:50:58 +08:00
parent 6e56a55f6f
commit 518e8903a3
21 changed files with 122 additions and 101 deletions
+1 -1
View File
@@ -445,7 +445,7 @@ const CronDetailModal = ({
</div>
}
centered
visible={visible}
open={visible}
forceRender
footer={false}
onCancel={() => handleCancel()}
+1 -1
View File
@@ -119,7 +119,7 @@ const CronLogModal = ({
return (
<Modal
title={titleElement()}
visible={visible}
open={visible}
centered
className="log-modal"
bodyStyle={{
+2 -2
View File
@@ -48,7 +48,7 @@ const CronModal = ({
return (
<Modal
title={cron ? '编辑任务' : '新建任务'}
visible={visible}
open={visible}
forceRender
centered
maskClosable={false}
@@ -172,7 +172,7 @@ const CronLabelModal = ({
return (
<Modal
title="批量修改标签"
visible={visible}
open={visible}
footer={buttons}
centered
maskClosable={false}
+1 -1
View File
@@ -138,7 +138,7 @@ const ViewCreateModal = ({
return (
<Modal
title={view ? '编辑视图' : '新建视图'}
visible={visible}
open={visible}
forceRender
width={580}
centered
+1 -1
View File
@@ -212,7 +212,7 @@ const ViewManageModal = ({
return (
<Modal
title="视图管理"
visible={visible}
open={visible}
centered
width={620}
onCancel={() => handleCancel()}