Browse Source

Pull request #2220: BI-94206 fix:populate时始终setText

Merge in VISUAL/fineui from ~JIMMY.CHAI/fineui:master to master

* commit 'e64cd5d11ab30c3ba71332d2d4c40aa9297a7d9b':
  BI-94206 fix:populate时始终setText
es6
Jimmy.Chai 3 years ago
parent
commit
fd1502ebe8
  1. 2
      src/case/layer/pane.list.js

2
src/case/layer/pane.list.js

@ -126,11 +126,11 @@ BI.ListPane = BI.inherit(BI.Pane, {
var tipText = context.tipText || ''; var tipText = context.tipText || '';
if (BI.isNotEmptyString(tipText)) { if (BI.isNotEmptyString(tipText)) {
BI.ListPane.superclass.populate.apply(this, []); BI.ListPane.superclass.populate.apply(this, []);
this.setTipText(tipText);
} else { } else {
BI.ListPane.superclass.populate.apply(this, arguments); BI.ListPane.superclass.populate.apply(this, arguments);
this.button_group.populate.apply(this.button_group, arguments); this.button_group.populate.apply(this.button_group, arguments);
} }
this.setTipText(tipText || o.tipText);
}, },
empty: function () { empty: function () {

Loading…
Cancel
Save