Browse Source

Pull request #2891: 无JIRA任务 shortcut先放出来

Merge in VISUAL/fineui from ~WINDY/fui:master to master

* commit '6c5c86fe9ec1bcfcb3b54141cc5246a16d2685bd':
  无JIRA任务 shortcut先放出来
es6
windy 2 years ago
parent
commit
5963a93bbf
  1. 4
      src/core/5.inject.js

4
src/core/5.inject.js

@ -81,10 +81,10 @@
BI.service = BI.service || function (xtype, cls) { BI.service = BI.service || function (xtype, cls) {
if (serviceInjection[xtype] != null) { if (serviceInjection[xtype] != null) {
_global.console && console.error("service: [" + xtype + "] 已经注册过了"); _global.console && console.error("service: [" + xtype + "] 已经注册过了");
} else {
serviceInjection[xtype] = cls;
} }
serviceInjection[xtype] = cls;
return function (config) { return function (config) {
return BI.Services.getService(xtype, config); return BI.Services.getService(xtype, config);
}; };

Loading…
Cancel
Save