diff --git a/src/components/Table/src/hooks/usePagination.ts b/src/components/Table/src/hooks/usePagination.ts index d0b6e5a..cf37b98 100644 --- a/src/components/Table/src/hooks/usePagination.ts +++ b/src/components/Table/src/hooks/usePagination.ts @@ -14,16 +14,15 @@ export function usePagination(refProps: ComputedRef) { if (!unref(show) || (isBoolean(pagination) && !pagination)) { return false; } - const { pageField, totalField } = APISETTING; + const { totalField } = APISETTING; return { - page: unref(configRef)[pageField], - pageCount: unref(configRef)[totalField], pageSize: DEFAULTPAGESIZE, pageSizes: PAGESIZES, showSizePicker: true, showQuickJumper: true, ...(isBoolean(pagination) ? {} : pagination), ...unref(configRef), + pageCount: unref(configRef)[totalField], }; });