Browse Source

Merge pull request #992 in VISUAL/fineui from ~KIRA/fineui:master to master

* commit 'd7644611064eb6e6942aa51033ba4a2b8d282fdd':
  BI-46965 fix: 翻页隐藏放到控件内部去做,setAllPage的时候判断一下页数是不是小于等于1,如果是就隐藏掉翻页按钮
es6
Kira 5 years ago
parent
commit
b806ff16cb
  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.options.pages = v;
this.pager.setAllPages(v); this.pager.setAllPages(v);
this.editor.setEnable(v >= 1); this.editor.setEnable(v >= 1);
this.setPagerVisible(v > 1);
}, },
setValue: function (v) { setValue: function (v) {

Loading…
Cancel
Save