Merge pull request #409 from nonameShijian/PR-Branch

修复打开主代码报错的问题
This commit is contained in:
Spmario233 2023-09-28 03:22:11 +08:00 committed by GitHub
commit f4ee1bebf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -46587,11 +46587,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);
}
}
};