From 1721a1af9baf7d0e049150f18b8a71fe58877832 Mon Sep 17 00:00:00 2001 From: plus Date: Mon, 5 Jan 2026 13:27:07 +0800 Subject: [PATCH] docs: totalBoundaryShowSizeChanger for Pagination (#56471) Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: afc163 --- components/pagination/index.en-US.md | 3 ++- components/pagination/index.zh-CN.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/components/pagination/index.en-US.md b/components/pagination/index.en-US.md index 8b5f943eaa..2233e3a5cd 100644 --- a/components/pagination/index.en-US.md +++ b/components/pagination/index.en-US.md @@ -53,7 +53,8 @@ Common props ref:[Common props](/docs/react/common-props) | responsive | If `size` is not specified, `Pagination` would resize according to the width of the window | boolean | - | | | showLessItems | Show less page items | boolean | false | | | showQuickJumper | Determine whether you can jump to pages directly | boolean \| { goButton: ReactNode } | false | | -| showSizeChanger | Determine whether to show `pageSize` select, it will be true when `total > 50` | boolean \| [SelectProps](/components/select#api) | - | SelectProps: 5.21.0 | +| showSizeChanger | Determine whether to show `pageSize` select | boolean \| [SelectProps](/components/select#api) | - | SelectProps: 5.21.0 | +| totalBoundaryShowSizeChanger | When `total` larger than it, `showSizeChanger` will be true | number | 50 | | | showTitle | Show page item's title | boolean | true | | | showTotal | To display the total number and range | function(total, range) | - | | | simple | Whether to use simple mode | boolean \| { readOnly?: boolean } | - | | diff --git a/components/pagination/index.zh-CN.md b/components/pagination/index.zh-CN.md index b8d768bdf6..e5a184614e 100644 --- a/components/pagination/index.zh-CN.md +++ b/components/pagination/index.zh-CN.md @@ -54,7 +54,8 @@ coverDark: https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*WM86SrBC8TsAAA | responsive | 当 size 未指定时,根据屏幕宽度自动调整尺寸 | boolean | - | | | showLessItems | 是否显示较少页面内容 | boolean | false | | | showQuickJumper | 是否可以快速跳转至某页 | boolean \| { goButton: ReactNode } | false | | -| showSizeChanger | 是否展示 `pageSize` 切换器,当 `total` 大于 50 时默认为 true | boolean \| [SelectProps](/components/select-cn#api) | - | SelectProps: 5.21.0 | +| showSizeChanger | 是否展示 `pageSize` 切换器 | boolean \| [SelectProps](/components/select-cn#api) | - | SelectProps: 5.21.0 | +| totalBoundaryShowSizeChanger | 当 `total` 大于该值时,`showSizeChanger` 默认为 true | number | 50 | | | showTitle | 是否显示原生 tooltip 页码提示 | boolean | true | | | showTotal | 用于显示数据总量和当前数据顺序 | function(total, range) | - | | | simple | 当添加该属性时,显示为简单分页 | boolean \| { readOnly?: boolean } | - | |