From ca9d9d76f5cab39e8c588f3159c844de4726ca2e Mon Sep 17 00:00:00 2001 From: Gauthier Roebroeck Date: Fri, 30 Jan 2026 10:40:14 +0800 Subject: [PATCH] fix no page --- next-ui/src/composables/pagination.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/next-ui/src/composables/pagination.ts b/next-ui/src/composables/pagination.ts index bf8b6e457..0b526d2bb 100644 --- a/next-ui/src/composables/pagination.ts +++ b/next-ui/src/composables/pagination.ts @@ -28,8 +28,8 @@ export function usePagination() { direction: 'ltr', }) - watch([page1, pageCount], ([newPage1, newPageCount]) => { - if (newPage1 > newPageCount) page1.value = newPageCount + watch([page0, pageCount], ([newPage0, newPageCount]) => { + if (newPage0 > newPageCount) page0.value = newPageCount }) return {