From 3478c4bb7a32f5ac8fd4bb3567c846995e1b153d Mon Sep 17 00:00:00 2001 From: fengachen <373943794@qq.com> Date: Mon, 27 Dec 2021 10:28:28 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90bug=E3=80=91=20=E7=BB=84=E7=BB=87?= =?UTF-8?q?=E6=9E=B6=E6=9E=84=E5=8F=AF=E4=BF=AE=E6=94=B9=E4=B8=8A=E7=BA=A7?= =?UTF-8?q?=E9=83=A8=E9=97=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/DepartList.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/views/system/DepartList.vue b/src/views/system/DepartList.vue index 4ea5a1f..0ff01d4 100644 --- a/src/views/system/DepartList.vue +++ b/src/views/system/DepartList.vue @@ -92,7 +92,6 @@ style="width:100%" :dropdownStyle="{maxHeight:'200px',overflow:'auto'}" :treeData="treeData" - :disabled="disable" v-model="model.parentId" placeholder="无"> @@ -461,7 +460,7 @@ export default { this.currSelected = Object.assign({}, record) this.model = this.currSelected this.selectedKeys = [record.key] - this.model.parentId = record.parentId + this.model.parentId = record.parentId || undefined this.setValuesToForm(record) // 暂时注释(部门权限组件)没用 2021-08-24 // this.$refs.departAuth.show(record.id);