Browse Source

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

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

* commit 'cf819306fd173e55d4713b71d6ab8ef384160910':
  KERNEL-9408 fix:解决button的icon属性有时失效
es6
treecat 2 years ago
parent
commit
9704163398
  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) { if (BI.isPlainObject(o.icon) && !o.loading) {
this.icon = BI.createWidget(o.icon); this.icon = BI.createWidget(o.icon);
} else { } else {

Loading…
Cancel
Save