mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-28 07:06:06 +08:00
修复脚本管理editorRef错误
This commit is contained in:
parent
6cd06aef0a
commit
1317965682
|
@ -179,7 +179,7 @@ const EditModal = ({
|
|||
setSaveModalVisible(false);
|
||||
}}
|
||||
isNewFile={isNewFile}
|
||||
file={{ content: editorRef.current.getValue(1), filename: fileName }}
|
||||
file={{ content: editorRef.current && editorRef.current.getValue(1), filename: fileName }}
|
||||
/>
|
||||
<SettingModal
|
||||
visible={settingModalVisible}
|
||||
|
|
Loading…
Reference in New Issue
Block a user