소스 검색

fix 部门管理 上级菜单问题

LiuHao 2 년 전
부모
커밋
0ba7e31e09
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/system/dept/index.vue

+ 1 - 1
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;
                 }
             })
         }