fix(hooks): update pagination pageSize after data fetch.

This commit is contained in:
Azir-11
2025-12-04 15:33:24 +08:00
committed by Soybean
parent e675474b43
commit 64226d9bb8

View File

@@ -131,6 +131,7 @@ export function useNaivePaginatedTable<ResponseData, ApiData>(
getColumns,
onFetched: data => {
pagination.itemCount = data.total;
pagination.pageSize = data.pageSize;
}
});