积分排行
This commit is contained in:
@@ -84,7 +84,7 @@ export default {
|
||||
},
|
||||
getList() {// 积分排行
|
||||
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 => {
|
||||
if (res.code === 0) {
|
||||
this.list = res.data.map(e=> ({...e, index: e.index}))
|
||||
@@ -96,10 +96,10 @@ export default {
|
||||
},
|
||||
},
|
||||
onReachBottom() {
|
||||
if (this.list.length < 50) {
|
||||
this.current++;
|
||||
this.getList()
|
||||
}
|
||||
// if (this.list.length < 50) {
|
||||
// this.current++;
|
||||
// this.getList()
|
||||
// }
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user