Fix: On the second page of agent version, switch the page size to empty. (#17732)

This commit is contained in:
balibabu
2026-08-03 16:41:59 +08:00
committed by GitHub
parent 10db22c756
commit a12dee5524

View File

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