diff --git a/src/pagination/Pagination.tsx b/src/pagination/Pagination.tsx index c35969c321..21dd5261a9 100644 --- a/src/pagination/Pagination.tsx +++ b/src/pagination/Pagination.tsx @@ -98,7 +98,7 @@ const Pagination = forwardRef((originalProps, r // 处理改变 pageSize 的逻辑 const changePageSize = (nextPageSize: number) => { - const nextCurrent = Math.min(current, Math.ceil(total / nextPageSize)); + const nextCurrent = Math.min(current, Math.max(1, Math.ceil(total / nextPageSize))); const pageInfo = { current: nextCurrent, previous: current,