This commit is contained in:
@fawn-nine
2024-06-21 13:34:16 +08:00
parent 5287358bd5
commit c8d7b5f271
6 changed files with 209 additions and 98 deletions

View File

@@ -139,7 +139,7 @@
uni.stopPullDownRefresh()
},
onReachBottom() {
if (this.status != 2) {
if (this.status != 2 && this.flag) {
this.page++
this.getData(this.subTabId)
}
@@ -245,10 +245,10 @@
this.getData(this.subTabId);
},
getData(id) {
if (!this.flag) {
console.log('正在执行,未完成')
return
}
// if (!this.flag) {
// console.log('正在执行,未完成')
// return
// }
this.status = 1
this.flag = false
$http.request({