From 6ce73cf9483c2cd2527c2ecf0655f74550fed5e2 Mon Sep 17 00:00:00 2001 From: "Wilson.Zhang" Date: Mon, 11 Apr 2022 20:50:11 +0800 Subject: [PATCH] =?UTF-8?q?BI-103548=20fix:=20=E5=88=A0=E9=99=A4setGroups?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/pager/pager.js | 4 ---- typescript/base/pager/pager.ts | 2 -- 2 files changed, 6 deletions(-) diff --git a/src/base/pager/pager.js b/src/base/pager/pager.js index 9b4c08682..64ea9a942 100644 --- a/src/base/pager/pager.js +++ b/src/base/pager/pager.js @@ -238,10 +238,6 @@ BI.Pager = BI.inherit(BI.Widget, { this.options.pages = pages; }, - setGroups: function(groups) { - this.options.groups = groups; - }, - hasPrev: function (v) { v || (v = 1); var o = this.options; diff --git a/typescript/base/pager/pager.ts b/typescript/base/pager/pager.ts index ebf843325..655f00092 100644 --- a/typescript/base/pager/pager.ts +++ b/typescript/base/pager/pager.ts @@ -17,7 +17,5 @@ export declare class Pager extends Widget { setAllPages(v: number): void; - setGroups(v: number): void; - populate(): void; }