mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-18 15:26:45 +08:00
课程列表清空
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user