From d200753acf2929c6b5bcb51124467670bd66705d Mon Sep 17 00:00:00 2001 From: icssoa <615206459@qq.com> Date: Mon, 11 Aug 2025 16:25:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cool/hooks/pager.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cool/hooks/pager.ts b/cool/hooks/pager.ts index 061d15c..2cd4689 100644 --- a/cool/hooks/pager.ts +++ b/cool/hooks/pager.ts @@ -114,6 +114,6 @@ export class Pager { } // 创建分页器实例 -export function usePager(cb: PagerCallback) { +export const usePager = (cb: PagerCallback): Pager => { return new Pager(cb); -} +};