Browse Source

BI-46965 fix: 翻页隐藏放到控件内部去做,setAllPage的时候判断一下页数是不是小于等于1,如果是就隐藏掉翻页按钮

es6
Kira 5 years ago
parent
commit
d764461106
  1. 1
      src/case/pager/pager.all.count.js

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

@ -153,6 +153,7 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
this.options.pages = v;
this.pager.setAllPages(v);
this.editor.setEnable(v >= 1);
this.setPagerVisible(v > 1);
},
setValue: function (v) {

Loading…
Cancel
Save