diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue index 7d95773d..855ce6f9 100644 --- a/src/views/system/dept/index.vue +++ b/src/views/system/dept/index.vue @@ -195,6 +195,7 @@ async function loadDeptData() { */ function handleAdd(row: any) { loadDeptData(); + state.formData.id = undefined state.formData.parentId = row.id; state.dialog = { title: "添加部门",