uu
This commit is contained in:
parent
685510b7c7
commit
666c550c2c
@ -101,7 +101,12 @@
|
|||||||
}
|
}
|
||||||
this.showLoadMore = true
|
this.showLoadMore = true
|
||||||
this.page.pageNum++
|
this.page.pageNum++
|
||||||
|
try{
|
||||||
await this.getDataList()
|
await this.getDataList()
|
||||||
|
}catch(e){
|
||||||
|
// 滚动下一页加载失败,重置 page.pageNum
|
||||||
|
this.page.pageNum --
|
||||||
|
}
|
||||||
this.showLoadMore = false
|
this.showLoadMore = false
|
||||||
},
|
},
|
||||||
async getDataList(reload) {
|
async getDataList(reload) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user