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

@@ -123,7 +123,7 @@
onReachBottom() {
console.log('触底加载')
if (this.tabId == 1) { // 商品
if (this.pObj.status != 2) {
if (this.pObj.status != 2 && this.pObj.pFlag) {
this.pObj.page++
this.getProData()
} else {
@@ -131,7 +131,7 @@
}
}
if (this.tabId == 2) { // 资讯
if (this.nObj.status != 2) {
if (this.nObj.status != 2 && this.nObj.nFlag) {
this.nObj.page++
this.getnewsData()
} else {