Browse Source

BI-94206 fix:populate时始终setText

es6
Jimmy.Chai 3 years ago
parent
commit
e64cd5d11a
  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