Explorar el Código

fix: #9450 组织管理 修复组织树结构新增子组织 上级组织回显问题

jackhoo_98 hace 3 años
padre
commit
b8b697e5b8
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/pages/system/Department/Tree/tree.tsx

+ 1 - 0
src/pages/system/Department/Tree/tree.tsx

@@ -366,6 +366,7 @@ export default (props: TreeProps) => {
                           sortIndex: nodeData.children ? nodeData.children.length + 1 : 1,
                         });
                         setVisible(true);
+                        setTreeDataList(treeData);
                       }}
                     >
                       <PlusCircleOutlined />