Commit feed43ef authored by liujiangnan's avatar liujiangnan

debug

parent cd32541b
......@@ -511,8 +511,8 @@ export default class NewClass extends middleLayerBase {
bd.releaseAll();
cc.assetManager.removeBundle(bd);
cc.assetManager.assets.forEach(item => {
if(item.nativeUrl.indexOf(`h5template`)==-1 && item.nativeUrl.indexOf(`http`)>-1) {
console.log(item.nativeUrl);
if(item.nativeUrl.indexOf(`h5template`)==-1 && item.nativeUrl.indexOf(`dist`)==-1 && item.nativeUrl.indexOf(`http`)>-1) {
cc.assetManager.releaseAsset(item);
}
});
......
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