From f11af4fc7689169864e40067a373d6e3472ff763 Mon Sep 17 00:00:00 2001 From: xiaoma <735878602@qq.com> Date: Sat, 28 Aug 2021 11:52:18 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=88=86=E9=A1=B5=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Table/src/hooks/usePagination.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Table/src/hooks/usePagination.ts b/src/components/Table/src/hooks/usePagination.ts index 88f7546..d0b6e5a 100644 --- a/src/components/Table/src/hooks/usePagination.ts +++ b/src/components/Table/src/hooks/usePagination.ts @@ -16,14 +16,14 @@ export function usePagination(refProps: ComputedRef) { } const { pageField, totalField } = APISETTING; return { + page: unref(configRef)[pageField], + pageCount: unref(configRef)[totalField], pageSize: DEFAULTPAGESIZE, pageSizes: PAGESIZES, showSizePicker: true, showQuickJumper: true, ...(isBoolean(pagination) ? {} : pagination), ...unref(configRef), - page: unref(configRef)[pageField], - pageCount: unref(configRef)[totalField], }; });