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(() => {