This commit is contained in:
shijingjing
2022-03-04 13:58:56 +08:00
parent f489d424bd
commit cb086431b7
3 changed files with 4 additions and 4 deletions

View File

@@ -81,7 +81,7 @@ export default {
}
}).then(res => {
if(res?.data){
this.integralList = this.current > 1 ? res.data.records:[...this.integralList, ...res.data.records]
this.integralList = this.current > 1 ? [...this.integralList, ...res.data.records]:res.data.records
this.$forceUpdate()
this.flag = true
}
@@ -108,7 +108,7 @@ export default {
document.title = '积分审核'
},
onReachBottom() {
this.current ++
this.current ++,
this.getList()
}
}

View File

@@ -90,7 +90,7 @@ export default {
}
}).then(res=>{
if(res?.data) {
this.data = this.current >1 ? res.data.records:[...this.data, ...res.data.records]
this.data = this.current >1 ? [...this.data, ...res.data.records]:res.data.records
}
})
},

View File

@@ -79,7 +79,7 @@ export default {
}
}).then(res=>{
if(res?.data) {
this.villagerList = this.current >1 ? res.data.records:[...this.villagerList,...res.data.records]
this.villagerList = this.current >1 ? [...this.villagerList,...res.data.records]:res.data.records
}
})
},