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