Browse Source

Merging in latest from upstream (VISUAL/fineui:refs/heads/master)

* commit 'b806ff16cb51a3dec04827a580b6caa3e6ef3b16':
  BI-46965 fix: 翻页隐藏放到控件内部去做,setAllPage的时候判断一下页数是不是小于等于1,如果是就隐藏掉翻页按钮
master
alan 5 years ago
parent
commit
abd70faddb
  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