Skip to content

Commit ea9e18e

Browse files
committed
refactor: fix status assign error in attempt load logic
1 parent 9585bf6 commit ea9e18e

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
@@ -220,7 +220,7 @@ export default {
220220
// more details: https://github.com/PeachScript/vue-infinite-loading/issues/55#issuecomment-316934169
221221
loopTracker.track();
222222
}
223-
} else {
223+
} else if (this.status === STATUS.LOADING) {
224224
this.status = STATUS.READY;
225225
}
226226
},

0 commit comments

Comments
 (0)