兼容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
@@ -214,7 +214,7 @@ const EditModal = ({
width={'100%'}
headerStyle={{ padding: '11px 24px' }}
onClose={cancel}
visible={visible}
open={visible}
>
<SplitPane
split="vertical"
+1 -1
View File
@@ -101,7 +101,7 @@ const EditScriptNameModal = ({
return (
<Modal
title="新建"
visible={visible}
open={visible}
forceRender
centered
maskClosable={false}
+1 -1
View File
@@ -41,7 +41,7 @@ const SaveModal = ({
return (
<Modal
title="保存文件"
visible={visible}
open={visible}
forceRender
centered
maskClosable={false}
+1 -1
View File
@@ -41,7 +41,7 @@ const SettingModal = ({
return (
<Modal
title="运行设置"
visible={visible}
open={visible}
forceRender
centered
onCancel={() => handleCancel()}