From d1d27622dd14b0ae58a733a1e70f3da1d48a89af Mon Sep 17 00:00:00 2001 From: zhaofang <752743406@qq.com> Date: Fri, 23 Sep 2022 10:00:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/portal/course/Index.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/views/portal/course/Index.vue b/src/views/portal/course/Index.vue index d66574f7..10e9b6af 100644 --- a/src/views/portal/course/Index.vue +++ b/src/views/portal/course/Index.vue @@ -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(); },