fix(hooks): 修复无法无法通过paginationProps传入pageSize导致的分页问题
This commit is contained in:
@@ -68,7 +68,7 @@ export function useNaiveTable<ResponseData, ApiData>(options: UseNaiveTableOptio
|
|||||||
type PaginationParams = Pick<PaginationProps, 'page' | 'pageSize'>;
|
type PaginationParams = Pick<PaginationProps, 'page' | 'pageSize'>;
|
||||||
|
|
||||||
type UseNaivePaginatedTableOptions<ResponseData, ApiData> = UseNaiveTableOptions<ResponseData, ApiData, true> & {
|
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
|
* whether to show the total count of the table
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user