Commit cd32541b authored by liujiangnan's avatar liujiangnan

debug

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