fix(hooks): 修复无法无法通过paginationProps传入pageSize导致的分页问题

This commit is contained in:
AN
2026-05-09 17:21:34 +08:00
parent e0c3062302
commit 852ffc6b1e
+1 -1
View File
@@ -68,7 +68,7 @@ export function useNaiveTable<ResponseData, ApiData>(options: UseNaiveTableOptio
type PaginationParams = Pick<PaginationProps, 'page' | 'pageSize'>;
type UseNaivePaginatedTableOptions<ResponseData, ApiData> = UseNaiveTableOptions<ResponseData, ApiData, true> & {
paginationProps?: Omit<PaginationProps, 'page' | 'pageSize' | 'itemCount'>;
paginationProps?: Omit<PaginationProps, 'page' | 'itemCount'>;
/**
* whether to show the total count of the table
*