Browse Source

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

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

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

2
src/core/5.inject.js

@ -402,8 +402,6 @@
BI.shortcut = BI.component = BI.shortcut || function (xtype, cls) { BI.shortcut = BI.component = BI.shortcut || function (xtype, cls) {
if (kv[xtype] != null) { if (kv[xtype] != null) {
_global.console && console.error("组件: [" + xtype + "] 已经注册过了"); _global.console && console.error("组件: [" + xtype + "] 已经注册过了");
return;
} }
if (cls) { if (cls) {
cls["xtype"] = xtype; cls["xtype"] = xtype;

Loading…
Cancel
Save