Skip to content

Commit c2f573c

Browse files
committed
Fix the repeated trigger problem for continue fill up feature
1 parent 93bbbd1 commit c2f573c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/InfiniteLoading.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
'$InfiniteLoading:loaded': function loaded() {
9999
this.isFirstLoad = false;
100100
if (this.isLoading) {
101-
this.attemptLoad();
101+
this.$nextTick(this.attemptLoad);
102102
}
103103
},
104104
'$InfiniteLoading:complete': function complete() {

0 commit comments

Comments
 (0)