From 5e2dfe056b419328e24b652893fd7e81c9b321e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A6=BE=E5=87=A0=E6=B5=B7?= Date: Wed, 1 Jul 2020 00:18:49 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=9A=E7=94=A8=E7=BB=84=E4=BB=B6-=E5=88=86?= =?UTF-8?q?=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/components/common-table/common-table.component.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/app/view/admin/components/common-table/common-table.component.ts b/src/app/view/admin/components/common-table/common-table.component.ts index f40273b..309368f 100644 --- a/src/app/view/admin/components/common-table/common-table.component.ts +++ b/src/app/view/admin/components/common-table/common-table.component.ts @@ -32,6 +32,10 @@ export class CommonTableComponent implements OnInit, OnChanges { } getData = () => { + this.request.queryParam = { + page: this.dataList.pageNum ? this.dataList.pageNum : 1, + count: this.dataList.pageSize ? this.dataList.pageSize : 10 + } this.httpService.Service>(this.request).subscribe(resp => { this.dataList = resp.result; });