积分排行

This commit is contained in:
liuye
2023-04-11 11:19:01 +08:00
parent ed1c2a6df2
commit 02cadf6395

View File

@@ -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>