From a12dee55245c286ab669ca6be637c9aeeef89a2f Mon Sep 17 00:00:00 2001 From: balibabu Date: Mon, 3 Aug 2026 16:41:59 +0800 Subject: [PATCH] Fix: On the second page of agent version, switch the page size to empty. (#17732) --- web/src/components/ui/ragflow-pagination.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/components/ui/ragflow-pagination.tsx b/web/src/components/ui/ragflow-pagination.tsx index ce1d9df74a..6e1446560a 100644 --- a/web/src/components/ui/ragflow-pagination.tsx +++ b/web/src/components/ui/ragflow-pagination.tsx @@ -85,10 +85,10 @@ export function RAGFlowPagination({ const handlePageSizeChange = useCallback( (size: string) => { - onChange?.(currentPage, Number(size)); + onChange?.(1, Number(size)); setCurrentPageSize(size); }, - [currentPage, onChange], + [onChange], ); useEffect(() => {