base/behaviors/b_loadingStatus.js
@@ -5,6 +5,7 @@ data: { cPage: 1, tPage: 1, perPage: 10, totalCount: 0, loading: false, needLoadMore: false @@ -31,7 +32,7 @@ }, methods: { _onReachBottom() { console.log('_onReachBottom'); // console.log('_onReachBottom'); let {cPage, tPage, loading} = this.data if (!loading && cPage < tPage) { if (typeof this.loadmore === 'function') { @@ -59,6 +60,6 @@ if (typeof this.loadComplete === 'function') { this.loadComplete() } } }, } })