Commit 94c5b2a1 authored by yu's avatar yu

1

parent fd9055cd
...@@ -290,7 +290,7 @@ pg.load = { ...@@ -290,7 +290,7 @@ pg.load = {
}, },
loadNetRes: function (url) { loadNetRes: function (url) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
cc.assetManager.loadRemote(url, (err, info) => { cc.assetManager.loadRemote(url, (err, data) => {
if (err && !data) return resolve(pg.logger.w('loading loadRes warn-> ', res)); if (err && !data) return resolve(pg.logger.w('loading loadRes warn-> ', res));
resolve(info); resolve(info);
}); });
......
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