Explorar el Código

fix 部门管理 上级菜单问题

LiuHao hace 2 años
padre
commit
0ba7e31e09
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
                 }
             })
         }