From c7f3c08dc12ce316060d175bd19f4cef5cfe8ffe Mon Sep 17 00:00:00 2001 From: Mickey wu Date: Mon, 25 May 2026 21:31:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=20usePagination=20?= =?UTF-8?q?=E6=B3=9B=E5=9E=8B=E7=B1=BB=E5=9E=8B=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/composables/useRequest.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/composables/useRequest.ts b/src/composables/useRequest.ts index 08edaf8..d14caf4 100644 --- a/src/composables/useRequest.ts +++ b/src/composables/useRequest.ts @@ -212,7 +212,7 @@ export interface UsePaginationReturn { * @param options 配置选项 */ export function usePagination( - requestFn: (params: PaginationParams) => Promise>, + requestFn: (params: PaginationParams) => Promise>, options: UsePaginationOptions = {} ): UsePaginationReturn { const { pageSize = 10, initialData = [], onSuccess, onError } = options;