plugins/infiniteScroll/CInfiniteScroll.vue
@@ -141,6 +141,7 @@ // 没有数据 if (!options.pageTotal || options.pageTotal <= 0) { this.ending = true; this.pageTotal = 0; } // 有数据 else { @@ -163,6 +164,8 @@ // 加载失败 fail: () => { this.loading = false; this.ending = true; this.pageTotal = 0; // 如果下拉刷新,还原下拉 if (this.touch.dargState === 2) { this.touch.driftTop = 0;