Browse Source

BI-88224 fix:pager不再始终显示,受影响因素增加

es6
Tangjinxia 3 years ago
parent
commit
b9ad87e034
  1. 3
      src/case/pager/pager.all.count.js

3
src/case/pager/pager.all.count.js

@ -108,7 +108,7 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
}); });
}, },
alwaysShowPager: true, showPager: true,
_getPagerIconCls: function () { _getPagerIconCls: function () {
var o = this.options; var o = this.options;
@ -213,6 +213,7 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
setRowCountVisible: function (b) { setRowCountVisible: function (b) {
this.rowCountObject.setVisible(b); this.rowCountObject.setVisible(b);
this.showPager = b || this.options.pages > 1;
}, },
populate: function () { populate: function () {

Loading…
Cancel
Save