mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-15 22:06:43 +08:00
提交
This commit is contained in:
@@ -447,8 +447,10 @@ export default {
|
||||
this.course[i] = "";
|
||||
if (i === "sysType1") {
|
||||
this.types.sysTypes = "";
|
||||
// this.types.oneSubList = [];
|
||||
// this.types.towSubList = [];
|
||||
this.types.subOne = "";
|
||||
this.types.subTow = "";
|
||||
this.types.oneSubList = [];
|
||||
this.types.towSubList = [];
|
||||
}
|
||||
if (i === "sysType2") {
|
||||
this.types.subOne = "";
|
||||
@@ -492,6 +494,8 @@ export default {
|
||||
list = this.optionsList.find(item => {
|
||||
return item.id === num;
|
||||
});
|
||||
} else {
|
||||
// this.types.towSubList = [];
|
||||
}
|
||||
if (list && list.children) {
|
||||
this.types.oneSubList = list.children;
|
||||
@@ -510,7 +514,7 @@ export default {
|
||||
}
|
||||
});
|
||||
} else {
|
||||
this.types.oneSubList = [];
|
||||
this.types.towSubList = [];
|
||||
}
|
||||
this.searchData();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user