fix: 组织部门为空bug修复

This commit is contained in:
dataeaseShu 2022-08-02 16:28:44 +08:00
parent 4e13ae5333
commit 587e932928

View File

@ -361,7 +361,7 @@ export default {
this.create();
return;
}
const { deptId:id, deptName:label } = row.dept;
const { deptId:id, deptName:label } = (row.dept || {});
this.selectDepts = [{id, label}]
this.formType = "modify";
this.dialogVisible = true;