diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue index 2f45839..fad48a3 100644 --- a/src/views/system/dept/index.vue +++ b/src/views/system/dept/index.vue @@ -229,7 +229,7 @@ const handleAdd = (row?: DeptVO) => { nextTick(() => { reset(); if (row && row.deptId) { - form.value.parentId = row?.parentId; + form.value.parentId = row?.deptId; } }) }