BUG 28069

This commit is contained in:
aixianling
2022-03-07 11:28:33 +08:00
parent 3e61cfb498
commit 8e1fedb603

View File

@@ -121,9 +121,9 @@ export default {
// 积分明细列表
getList() {
// var url = `/app/appvillagerintegraldetail/IntegralList?residentId=00255e188d1225f3fe022cb4eed44a84&type=${this.tabIndex}&current=${this.current}&size=10` //积分明细
var url = `/app/appvillagerintegraldetail/IntegralList?residentId=${this.user.residentId}&type=${this.tabIndex}&current=${this.current}&size=10` //积分明细
let url = `/app/appvillagerintegraldetail/IntegralList?residentId=${this.user.residentId}&type=${this.tabIndex}&current=${this.current}&size=10` //积分明细
this.$instance.post(url).then(res => {
if (res.code === 0) {
if (res?.data) {
if (this.current > res.data.pages) {
return
}
@@ -134,8 +134,10 @@ export default {
},
onReachBottom() {
if (!this.showDetail) return
this.current = this.current + 1;
this.getList()
if (this.list.length < 50) {
this.current++;
this.getList()
}
},
}
</script>