diff --git a/src/components/common/VnSelectFilter.vue b/src/components/common/VnSelectFilter.vue index 580b79be2..dad3471c6 100644 --- a/src/components/common/VnSelectFilter.vue +++ b/src/components/common/VnSelectFilter.vue @@ -3,7 +3,7 @@ import { ref, toRefs, computed, watch } from 'vue'; import { onMounted } from 'vue'; import { useI18n } from 'vue-i18n'; import FetchData from 'src/components/FetchData.vue'; -const emit = defineEmits(['update:modelValue', 'update:options', 'onPaginate']); +const emit = defineEmits(['update:modelValue', 'update:options']); const $props = defineProps({ modelValue: { @@ -169,7 +169,6 @@ async function onScroll(scrollEv) { if (direction === 'decrease') return; if (optionIndex > 0 && to === lastIndex && isLoading.value === false) { isLoading.value = true; - // emit('onPaginate'); await $props.fetchRef.paginate(); } }