测试刷新
@@ -240,11 +240,12 @@ export default {
this.courseList = [];
this.refreshing = false;
}
+ this.loading = false;
getPracticeGroup(this.search).then(res => {
if (res.data.code == 200) {
this.page++
this.courseList = this.courseList.concat(res.data.data.rows)
- this.loading = false;
+ this.loading = true;
if(res.data.data.rows.length == 0){
this.finished = true;