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