Browse Source

无jira任务 fix:优先显示翻页按钮

es6
Tangjinxia 4 years ago
parent
commit
54f5615a47
  1. 13
      src/case/pager/pager.all.count.js

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

@ -92,20 +92,19 @@ BI.AllCountPager = BI.inherit(BI.Widget, {
title: o.pages, title: o.pages,
text: "/" + o.pages, text: "/" + o.pages,
lgap: 5, lgap: 5,
height: o.height,
invisible: o.pages <= 1 invisible: o.pages <= 1
}); });
BI.createWidget(o.showRowCount ? { BI.createWidget(o.showRowCount ? {
type: "bi.htape", type: "bi.flex_horizontal",
columnSize: ["fill", 140], columnSize: ["fill", ""],
element: this, element: this,
scrollx: false,
items: [ items: [
this._getRowCountObject(), this._getRowCountObject(),
{ this.editor, this.allPages, this.pager
type: "bi.right_vertical_adapt", ],
items: [this.editor, this.allPages, this.pager]
}
]
} : { } : {
type: "bi.vertical_adapt", type: "bi.vertical_adapt",
element: this, element: this,

Loading…
Cancel
Save