[common] debug plugins loading
This commit is contained in:
parent
a6091d9326
commit
1e5a6e6c8d
|
@ -593,6 +593,7 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
getAppConfigPlugins: function (config) {
|
getAppConfigPlugins: function (config) {
|
||||||
|
if ( config.UIpluginsData ) {
|
||||||
var me = this;
|
var me = this;
|
||||||
Promise.all(config.UIpluginsData.map(function(url) {
|
Promise.all(config.UIpluginsData.map(function(url) {
|
||||||
return fetch(url)
|
return fetch(url)
|
||||||
|
@ -614,6 +615,7 @@ define([
|
||||||
}).catch(function(e) {
|
}).catch(function(e) {
|
||||||
console.log('error: ' + e.message);
|
console.log('error: ' + e.message);
|
||||||
});
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
}, Common.Controllers.Plugins || {}));
|
}, Common.Controllers.Plugins || {}));
|
||||||
|
|
Loading…
Reference in a new issue