|
@@ -69,12 +69,12 @@ export default {
|
|
|
this.page = 1
|
|
this.page = 1
|
|
|
this.groupA = g
|
|
this.groupA = g
|
|
|
this.typeCheck = t
|
|
this.typeCheck = t
|
|
|
- this.getCourse(true,false)
|
|
|
|
|
|
|
+ this.getCourse(true, false)
|
|
|
},
|
|
},
|
|
|
onRefresh() {
|
|
onRefresh() {
|
|
|
this.page = 1
|
|
this.page = 1
|
|
|
this.finished = false
|
|
this.finished = false
|
|
|
- this.getCourse(true,false)
|
|
|
|
|
|
|
+ this.getCourse(true, false)
|
|
|
},
|
|
},
|
|
|
onRefresh1() {
|
|
onRefresh1() {
|
|
|
this.page = 1
|
|
this.page = 1
|
|
@@ -145,7 +145,11 @@ export default {
|
|
|
el.array.push(el2)
|
|
el.array.push(el2)
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
|
|
+ el.array.sort(function (a, b) {
|
|
|
|
|
+ return new Date(b.createTime) - new Date(a.createTime)
|
|
|
|
|
+ })
|
|
|
})
|
|
})
|
|
|
|
|
+
|
|
|
this.zoneClass = [...this.zoneClass, ...res[0]]
|
|
this.zoneClass = [...this.zoneClass, ...res[0]]
|
|
|
}
|
|
}
|
|
|
this.$emit('update:list', this.zoneClass)
|
|
this.$emit('update:list', this.zoneClass)
|