mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-17 17:54:32 +08:00
兼容Modal属性
This commit is contained in:
@@ -214,7 +214,7 @@ const EditModal = ({
|
||||
width={'100%'}
|
||||
headerStyle={{ padding: '11px 24px' }}
|
||||
onClose={cancel}
|
||||
visible={visible}
|
||||
open={visible}
|
||||
>
|
||||
<SplitPane
|
||||
split="vertical"
|
||||
|
||||
@@ -101,7 +101,7 @@ const EditScriptNameModal = ({
|
||||
return (
|
||||
<Modal
|
||||
title="新建"
|
||||
visible={visible}
|
||||
open={visible}
|
||||
forceRender
|
||||
centered
|
||||
maskClosable={false}
|
||||
|
||||
@@ -41,7 +41,7 @@ const SaveModal = ({
|
||||
return (
|
||||
<Modal
|
||||
title="保存文件"
|
||||
visible={visible}
|
||||
open={visible}
|
||||
forceRender
|
||||
centered
|
||||
maskClosable={false}
|
||||
|
||||
@@ -41,7 +41,7 @@ const SettingModal = ({
|
||||
return (
|
||||
<Modal
|
||||
title="运行设置"
|
||||
visible={visible}
|
||||
open={visible}
|
||||
forceRender
|
||||
centered
|
||||
onCancel={() => handleCancel()}
|
||||
|
||||
Reference in New Issue
Block a user