积分排行
This commit is contained in:
@@ -84,7 +84,7 @@ export default {
|
|||||||
},
|
},
|
||||||
getList() {// 积分排行
|
getList() {// 积分排行
|
||||||
this.list = {}
|
this.list = {}
|
||||||
var url = `/app/appintegraluser/integralSortFD?type=${this.tabIndex}&areaId=${this.user.areaId}` //积分排行
|
var url = `/app/appintegraluser/integralSortFD?type=${this.tabIndex}&size=50` //积分排行
|
||||||
this.$instance.post(url).then(res => {
|
this.$instance.post(url).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
this.list = res.data.map(e=> ({...e, index: e.index}))
|
this.list = res.data.map(e=> ({...e, index: e.index}))
|
||||||
@@ -96,10 +96,10 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
onReachBottom() {
|
onReachBottom() {
|
||||||
if (this.list.length < 50) {
|
// if (this.list.length < 50) {
|
||||||
this.current++;
|
// this.current++;
|
||||||
this.getList()
|
// this.getList()
|
||||||
}
|
// }
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user