mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
修复脚本管理editorRef错误
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user