Commit 947223ec authored by liujiangnan's avatar liujiangnan

feat: 稳定版本

parent 2e32598d
......@@ -1295,15 +1295,6 @@ export default class NewClass extends middleLayerBase {
this.loadOnlineBundle('NJ_MonkyTree');
}
// TODO 测试释放资源的效果
if (this.courseItem && this.courseItem.template_name!='NJ_BookTable') {
this.courses.forEach(item => {
const bd = cc.assetManager.getBundle(item.template_name);
bd.releaseAll();
// cc.assetManager.removeBundle(bd);
});
}
}
this.showConfirm("确定离开吗?", () => {
exit();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment