1
This commit is contained in:
parent
18c99cd668
commit
36f0675689
@ -262,7 +262,8 @@
|
|||||||
loading: '努力加载中',
|
loading: '努力加载中',
|
||||||
nomore: '实在没有了'
|
nomore: '实在没有了'
|
||||||
},
|
},
|
||||||
refresher:true
|
refresher:true,
|
||||||
|
zqie:false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
@ -354,7 +355,11 @@
|
|||||||
tabLiveList() {
|
tabLiveList() {
|
||||||
uni.showLoading({
|
uni.showLoading({
|
||||||
title: "loading..."
|
title: "loading..."
|
||||||
})
|
})
|
||||||
|
if(this.zqie){
|
||||||
|
return ;
|
||||||
|
}
|
||||||
|
this.zqie = true;
|
||||||
this.$u.api.tabLiveList({page:this.live_page}).then((res) => {
|
this.$u.api.tabLiveList({page:this.live_page}).then((res) => {
|
||||||
// uni.stopPullDownRefresh();
|
// uni.stopPullDownRefresh();
|
||||||
this.status_live = "loading";
|
this.status_live = "loading";
|
||||||
@ -371,6 +376,7 @@
|
|||||||
} else if (res.data.data.length == 0 && this.live_page > 1) {
|
} else if (res.data.data.length == 0 && this.live_page > 1) {
|
||||||
this.status_live = "nomore";
|
this.status_live = "nomore";
|
||||||
} else {
|
} else {
|
||||||
|
console.log(this.live_page,1223)
|
||||||
this.tabLiveLists = this.tabLiveLists.concat(res.data.data);
|
this.tabLiveLists = this.tabLiveLists.concat(res.data.data);
|
||||||
console.log(this.tabLiveLists)
|
console.log(this.tabLiveLists)
|
||||||
}
|
}
|
||||||
@ -381,6 +387,8 @@
|
|||||||
} else {
|
} else {
|
||||||
this.status_live = "nomore"
|
this.status_live = "nomore"
|
||||||
}
|
}
|
||||||
|
this.zqie = false;
|
||||||
|
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user