曲靖首页学习课堂优化
This commit is contained in:
@@ -125,8 +125,8 @@ export default {
|
|||||||
this.getSwiperList();
|
this.getSwiperList();
|
||||||
this.getName();
|
this.getName();
|
||||||
this.getGrids();
|
this.getGrids();
|
||||||
this.getActive();
|
// this.getActive();
|
||||||
this.getNotice();
|
// this.getNotice();
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
@@ -44,13 +44,13 @@ export default {
|
|||||||
this.$instance.post(`/app/appcourseinfo/listByApplet`, null, {
|
this.$instance.post(`/app/appcourseinfo/listByApplet`, null, {
|
||||||
params: {
|
params: {
|
||||||
current: this.current,
|
current: this.current,
|
||||||
size: 3000,
|
size: 10,
|
||||||
title: this.title
|
title: this.title
|
||||||
}
|
}
|
||||||
}).then(res=> {
|
}).then(res=> {
|
||||||
if(res?.data) {
|
if(res?.data) {
|
||||||
// this.classList = this.current==1? res.data.records: [...this.classList,...res.data.records]
|
this.classList = this.current==1? res.data.records: [...this.classList,...res.data.records]
|
||||||
this.classList = res.data.records
|
// this.classList = res.data.records
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -59,7 +59,8 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
onReachBottom() {
|
onReachBottom() {
|
||||||
|
this.current ++
|
||||||
|
this.getList()
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user