mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-04 23:00:30 +08:00
Fix: On the second page of agent version, switch the page size to empty. (#17732)
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user