课程列表清空

This commit is contained in:
zhaofang
2022-09-16 15:54:52 +08:00
parent 8acceba06b
commit a0786262b7

View File

@@ -450,16 +450,16 @@ export default {
} }
if (i === "sysType2") { if (i === "sysType2") {
this.types.subOne = ""; this.types.subOne = "";
this.types.oneSubList = [];
} }
if (i === "sysType3") { if (i === "sysType3") {
this.types.subTow = ""; this.types.subTow = "";
this.types.towSubList = [];
} }
if (i === "type") { if (i === "type") {
this.category = ""; this.category = "";
this.categorySub = ""; this.categorySub = "";
} }
this.searchTags.splice(index, 1); this.searchTags.splice(index, 1);
if(i === 'type') { if(i === 'type') {
this.category = null; this.category = null;
@@ -605,7 +605,6 @@ export default {
}); });
this.courseList.push(...res.result.list); this.courseList.push(...res.result.list);
console.log(this.courseList,'this.courseList');
this.moreState = 1; this.moreState = 1;
} else { } else {
this.moreState = 3; this.moreState = 3;