From 84ac4dd2102a825e0732128d22c1a7b3906744d1 Mon Sep 17 00:00:00 2001 From: alexm Date: Wed, 18 Dec 2024 14:21:59 +0100 Subject: [PATCH] fix: refs #8197 vnPaginate onFetch emit --- src/components/ui/VnPaginate.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/ui/VnPaginate.vue b/src/components/ui/VnPaginate.vue index 90089593e..42f558f89 100644 --- a/src/components/ui/VnPaginate.vue +++ b/src/components/ui/VnPaginate.vue @@ -106,6 +106,7 @@ const store = arrayData.store; onMounted(async () => { if (props.autoLoad && !store.data?.length) await fetch(); + else emit('onFetch', store.data); mounted.value = true; });