Browse Source

Pull request #2573: 无JIRA任务 chore: bugfix

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit '477d8945d053c79da7cbcbada22a0bba1a8bf820':
  chore: bugfix
es6
guy 3 years ago
parent
commit
9d3acbf780
  1. 3
      src/base/pager/pager.js
  2. 7
      src/case/pager/pager.js

3
src/base/pager/pager.js

@ -12,8 +12,6 @@ BI.Pager = BI.inherit(BI.Widget, {
behaviors: {},
layouts: [{
type: "bi.horizontal",
hgap: 10,
vgap: 0
}],
dynamicShow: true, // 是否动态显示上一页、下一页、首页、尾页, 若为false,则指对其设置使能状态
@ -178,7 +176,6 @@ BI.Pager = BI.inherit(BI.Widget, {
items: BI.createItems(view, {
cls: "bi-list-item-select bi-border-radius",
height: 23,
hgap: 10,
stopPropagation: true
}),
behaviors: o.behaviors,

7
src/case/pager/pager.js

@ -12,8 +12,6 @@ BI.DetailPager = BI.inherit(BI.Widget, {
behaviors: {},
layouts: [{
type: "bi.horizontal",
hgap: 10,
vgap: 0
}],
dynamicShow: true, // 是否动态显示上一页、下一页、首页、尾页, 若为false,则指对其设置使能状态
@ -177,8 +175,7 @@ BI.DetailPager = BI.inherit(BI.Widget, {
element: this,
items: BI.createItems(view, {
cls: "page-item bi-border bi-list-item-active",
height: 23,
hgap: 10
height: 23
}),
behaviors: o.behaviors,
layouts: o.layouts
@ -285,4 +282,4 @@ BI.DetailPager = BI.inherit(BI.Widget, {
});
BI.DetailPager.EVENT_CHANGE = "EVENT_CHANGE";
BI.DetailPager.EVENT_AFTER_POPULATE = "EVENT_AFTER_POPULATE";
BI.shortcut("bi.detail_pager", BI.DetailPager);
BI.shortcut("bi.detail_pager", BI.DetailPager);

Loading…
Cancel
Save