Browse Source

Pull request #2227: BI-95335 fix:为空时显示提示

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

* commit 'e2b466acc519efa143c24ae8e5731725c8578659':
  BI-95335 fix:为空时显示提示
es6
Jimmy.Chai 3 years ago
parent
commit
d77268fd12
  1. 3
      src/case/layer/pane.list.js

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

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

Loading…
Cancel
Save