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