积分排行
This commit is contained in:
@@ -40,12 +40,18 @@ export default {
|
||||
appName: '功德银行',
|
||||
data() {
|
||||
return {
|
||||
list: []
|
||||
list: [],
|
||||
current: 1,
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
getList() {
|
||||
this.$instance.post('/app/appintegraltask/list?status=1').then(res=> {
|
||||
this.$instance.post('/app/appintegraltask/list',null,{
|
||||
params: {
|
||||
current: this.current,
|
||||
status: 1
|
||||
}
|
||||
}).then(res=> {
|
||||
if(res?.data) {
|
||||
this.list = res.data.records
|
||||
}
|
||||
@@ -60,6 +66,10 @@ export default {
|
||||
this.getList()
|
||||
})
|
||||
},
|
||||
onReachBottom() {
|
||||
this.current++;
|
||||
this.getList()
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user