diff --git a/src/components/InfiniteLoading.vue b/src/components/InfiniteLoading.vue index 3445036..6b1d9d8 100644 --- a/src/components/InfiniteLoading.vue +++ b/src/components/InfiniteLoading.vue @@ -92,6 +92,14 @@ this.isNoMore = true; this.scrollParent.removeEventListener('scroll', this.scrollHandler); }, + '$InfiniteLoading:reset'() { + this.isLoading = false; + this.isNoMore = false; + this.isNoResults = false; + this.scrollParent.addEventListener('scroll', this.scrollHandler); + + this.scrollHandler(); + }, }, destroyed() { if (!this.isNoResults && !this.isNoMore) {