修复打开主代码报错的问题

This commit is contained in:
shijian 2023-09-27 21:33:20 +08:00
parent 82608f348c
commit 1ee5cc684c
1 changed files with 2 additions and 2 deletions

View File

@ -46576,11 +46576,11 @@
}
else{
if(!window.CodeMirror){
lib.init.js(lib.assetURL+'game','codemirror',()=>lib.codeMirrorReady(node,editor));
lib.init.js(lib.assetURL+'game','codemirror',()=>lib.codeMirrorReady(node,this.editor));
lib.init.css(lib.assetURL+'layout/default','codemirror');
}
else{
lib.codeMirrorReady(node,editor);
lib.codeMirrorReady(node,this.editor);
}
}
};