Browse Source

KERNEL-9408 fix:解决button的icon属性有时失效

es6
treecat 2 years ago
parent
commit
cf819306fd
  1. 2
      src/base/single/button/buttons/button.js

2
src/base/single/button/buttons/button.js

@ -90,7 +90,7 @@
}
}
var iconInvisible = !o.loading && !o.iconCls;
var iconInvisible = !o.loading && !o.iconCls && !o.icon;
if (BI.isPlainObject(o.icon) && !o.loading) {
this.icon = BI.createWidget(o.icon);
} else {

Loading…
Cancel
Save