@@ -419,17 +419,15 @@
onReachBottom() {
// console.log(this.page, this.total)
- setTimeout(() => {
- if (this.total - this.page * 5 <= 0) {
- this.status = 'nomore'
- // console.log('ww')
- } else {
- // console.log('w')
- this.status = 'loading';
- this.page++
- this.getList()
- }
- }, 1000)
+ if (this.total - this.page * 5 <= 0) {
+ this.status = 'nomore'
+ // console.log('ww')
+ } else {
+ // console.log('w')
+ this.status = 'loading';
+ this.page++
+ this.getList()
+ }
}