From c7db9784a2a73860aea059749ebc02b8de070161 Mon Sep 17 00:00:00 2001 From: Yjhon Date: Fri, 11 Feb 2022 14:55:04 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E9=80=89=E6=8B=A9=E8=AF=BE?= =?UTF-8?q?=E7=A8=8B=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/project/form/ProjectCourseSelect.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/project/form/ProjectCourseSelect.vue b/src/views/project/form/ProjectCourseSelect.vue index 8c87bfa..c04491c 100644 --- a/src/views/project/form/ProjectCourseSelect.vue +++ b/src/views/project/form/ProjectCourseSelect.vue @@ -71,7 +71,7 @@ export default { menuKey: ['sys'], //默认系统课程 // 查询参数 - queryParam: { name: '', classType: 0 ,type: 0}, + queryParam: { name: '', classType: 1 ,type: 1}, replaceFields: { children: 'children', title: 'name', key: 'value', value: 'id' }, expandedKeys: [], autoExpandParent: true, @@ -107,9 +107,9 @@ export default { //菜单改变, menuChack(){ console.log('menuKey',this.menuKey) - let type = 1; + let type = 2; console.log('菜单改变',this.menuKey[0]) - if(this.menuKey[0] === 'self') type = 2; + if(this.menuKey[0] === 'self') type = 1; this.queryParam.type = type this.getCourseTreeData(type); this.$refs.table.refresh(true);