|
@@ -236,15 +236,11 @@ export default {
|
|
|
(this.search.endTime =
|
|
|
this.dateEndSection.showEndDate.replace(/\//g, "-") + " 23:59:59"),
|
|
|
(this.search.page = this.page);
|
|
|
- this.loading = true;
|
|
|
getPracticeGroup(this.search).then(res => {
|
|
|
- console.log(res.data.code)
|
|
|
if (res.data.code == 200) {
|
|
|
if (this.refreshing) {
|
|
|
this.courseList = [];
|
|
|
- this.refreshing = false;
|
|
|
}
|
|
|
-
|
|
|
if (res.data.data.rows.length == 0) {
|
|
|
|
|
|
this.finished = true;
|
|
@@ -259,8 +255,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
this.loading = false;
|
|
|
-
|
|
|
- this.refreshing = true;
|
|
|
+ this.refreshing = false;
|
|
|
} else {
|
|
|
this.finished = true;
|
|
|
this.loading = false;
|