Browse Source

BI-103548 fix: 删除setGroups

es6
Wilson.Zhang 3 years ago
parent
commit
6ce73cf948
  1. 4
      src/base/pager/pager.js
  2. 2
      typescript/base/pager/pager.ts

4
src/base/pager/pager.js

@ -238,10 +238,6 @@ BI.Pager = BI.inherit(BI.Widget, {
this.options.pages = pages; this.options.pages = pages;
}, },
setGroups: function(groups) {
this.options.groups = groups;
},
hasPrev: function (v) { hasPrev: function (v) {
v || (v = 1); v || (v = 1);
var o = this.options; var o = this.options;

2
typescript/base/pager/pager.ts

@ -17,7 +17,5 @@ export declare class Pager extends Widget {
setAllPages(v: number): void; setAllPages(v: number): void;
setGroups(v: number): void;
populate(): void; populate(): void;
} }

Loading…
Cancel
Save