Commit ed0c4db1901378e7cec0df9a86753f8a68152ed3

Authored by ww
1 parent d4060603

fix: conver script first init jsoneditor can not success

@@ -153,7 +153,7 @@ @@ -153,7 +153,7 @@
153 enableBasicAutocompletion: true, 153 enableBasicAutocompletion: true,
154 enableLiveAutocompletion: true, 154 enableLiveAutocompletion: true,
155 }); 155 });
156 - aceEditor.value.setValue(); 156 + aceEditor.value.setValue('');
157 beautify(aceEditor.value.session); 157 beautify(aceEditor.value.session);
158 // scriptForm.convertJs = aceEditor.value.getValue(); 158 // scriptForm.convertJs = aceEditor.value.getValue();
159 }; 159 };