修复打开主代码报错的问题
This commit is contained in:
parent
82608f348c
commit
1ee5cc684c
|
@ -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);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue