fix 部门管理 上级菜单问题

This commit is contained in:
LiuHao 2023-04-20 22:57:33 +08:00
parent 61417032b7
commit 0ba7e31e09

View File

@ -229,7 +229,7 @@ const handleAdd = (row?: DeptVO) => {
nextTick(() => { nextTick(() => {
reset(); reset();
if (row && row.deptId) { if (row && row.deptId) {
form.value.parentId = row?.parentId; form.value.parentId = row?.deptId;
} }
}) })
} }