fix: refs #8197 vnPaginate onFetch emit
This commit is contained in:
parent
fccca9ea47
commit
84ac4dd210
|
@ -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;
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue