Explorar o código

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

jackhoo_98 %!s(int64=3) %!d(string=hai) anos
pai
achega
b8b697e5b8
Modificáronse 1 ficheiros con 1 adicións e 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 />