Commit 02aa2c64 authored by liujiaxin's avatar liujiaxin

1

parent 61ccde9e
...@@ -348,8 +348,8 @@ let pg = { ...@@ -348,8 +348,8 @@ let pg = {
// if (err && !texture) return resolve(pg.logger.w('loading loadNetImg warn-> ' + texture)); // if (err && !texture) return resolve(pg.logger.w('loading loadNetImg warn-> ' + texture));
// resolve(texture); // resolve(texture);
// }); // });
console.log('loadAsset', url) console.log('loadAsset',typeof url , url)
if (typeof url !== 'string') { if (typeof url != 'string') {
resolve(url); resolve(url);
} }
if (url) { if (url) {
......
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