From 21e58bae887a2ea4f517126c65981e74eb7f6cfe Mon Sep 17 00:00:00 2001 From: linxiuyun Date: Tue, 9 Feb 2021 10:12:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BD=93total=E5=A4=A7=E4=BA=8E50=E5=B9=B6?= =?UTF-8?q?=E4=B8=94props=E4=B8=AD=E6=B2=A1=E6=9C=89=E6=8C=87=E5=AE=9Apage?= =?UTF-8?q?Size=E6=97=B6=E6=89=8D=E8=87=AA=E5=8A=A8=E6=98=BE=E7=A4=BAsizeC?= =?UTF-8?q?hanger?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Pagination.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Pagination.jsx b/src/Pagination.jsx index 35fdbbc1..a4c00e1d 100644 --- a/src/Pagination.jsx +++ b/src/Pagination.jsx @@ -293,7 +293,7 @@ class Pagination extends React.Component { if (typeof showSizeChanger !== 'undefined') { return showSizeChanger; } - return total > totalBoundaryShowSizeChanger; + return total > totalBoundaryShowSizeChanger && !('pageSize' in this.props); } runIfEnter = (event, callback, ...restParams) => {