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);