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; });