From 6ec00d1d7b2d1e677fecedfcc4c8e99ea24fe8e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=8D=9A=E6=96=87?= <1179111926@qq.com> Date: Tue, 16 Aug 2022 18:51:11 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E5=8F=91=E7=AE=A1=E7=90=86=E5=AE=8C?= =?UTF-8?q?=E6=88=902?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Manager/BasicManager/List/Allotment/index.tsx | 8 ++++++-- .../Manager/BasicManager/List/Manufacturer/index.tsx | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/pages/Manager/BasicManager/List/Allotment/index.tsx b/src/pages/Manager/BasicManager/List/Allotment/index.tsx index 1d1d3c5..f6657ec 100644 --- a/src/pages/Manager/BasicManager/List/Allotment/index.tsx +++ b/src/pages/Manager/BasicManager/List/Allotment/index.tsx @@ -364,9 +364,13 @@ const Page: FC = () => { total: total, current: params.page, showQuickJumper: true, - hideOnSinglePage: false, + hideOnSinglePage: true, position: ['bottomCenter'], - // showTotal: total => {total}条数据 + showTotal: (total) => ( + + 共{total}条数据 + + ), }} /> diff --git a/src/pages/Manager/BasicManager/List/Manufacturer/index.tsx b/src/pages/Manager/BasicManager/List/Manufacturer/index.tsx index 0ab6635..3a571f1 100644 --- a/src/pages/Manager/BasicManager/List/Manufacturer/index.tsx +++ b/src/pages/Manager/BasicManager/List/Manufacturer/index.tsx @@ -207,9 +207,13 @@ const Page: FC = () => { total: total, current: params.page, showQuickJumper: true, - hideOnSinglePage: false, + hideOnSinglePage: true, position: ['bottomCenter'], - // showTotal: total => {total}条数据 + showTotal: (total) => ( + + 共{total}条数据 + + ), }} />