|
|
@@ -282,7 +282,7 @@
|
|
|
Object.assign(formData, {
|
|
|
[key]: res[key],
|
|
|
deptId: res.deptId ? JSON.parse(res.deptId) : [],
|
|
|
- userGroupId: res.userGroupId.split(',').map((id) => Number(id)),
|
|
|
+ userGroupId: res.userGroupId ? res.userGroupId.split(',').map((id) => Number(id)) : [],
|
|
|
});
|
|
|
originDeptId.value = res.deptId ? JSON.parse(res.deptId) : [];
|
|
|
originUserGroupId.value = res.userGroupId ? res.userGroupId.split(',').map((id) => Number(id)) : [];
|