Browse Source

Pull request #1356: 无JIRA任务 bugfix

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit '2af688766e98d5c71cacdd29c0e24d412efcc746':
  bugfix
es6
guy 4 years ago
parent
commit
d29b16f773
  1. 2
      src/core/inject.js

2
src/core/inject.js

@ -57,6 +57,7 @@
if (!providers[type]) { if (!providers[type]) {
providers[type] = new providerInjection[type](); providers[type] = new providerInjection[type]();
} }
providerInstance[type] = null;
return configFn(providers[type]); return configFn(providers[type]);
} }
return BI.Plugin.configWidget(type, configFn); return BI.Plugin.configWidget(type, configFn);
@ -74,6 +75,7 @@
if (!providers[type]) { if (!providers[type]) {
providers[type] = new providerInjection[type](); providers[type] = new providerInjection[type]();
} }
providerInstance[type] = null;
queue[i](providers[type]); queue[i](providers[type]);
continue; continue;
} }

Loading…
Cancel
Save