mirror of
https://github.com/PlayEdu/backend
synced 2025-06-29 13:52:43 +08:00
部门默认展开
This commit is contained in:
parent
f728ded148
commit
e2a0aaf695
@ -90,13 +90,16 @@ export const TreeDepartment = (props: PropInterface) => {
|
|||||||
>
|
>
|
||||||
全部{props.text}
|
全部{props.text}
|
||||||
</div>
|
</div>
|
||||||
|
{treeData.length > 0 && (
|
||||||
<Tree
|
<Tree
|
||||||
selectedKeys={selectKey}
|
selectedKeys={selectKey}
|
||||||
onSelect={onSelect}
|
onSelect={onSelect}
|
||||||
onExpand={onExpand}
|
onExpand={onExpand}
|
||||||
treeData={treeData}
|
treeData={treeData}
|
||||||
|
defaultExpandAll={true}
|
||||||
switcherIcon={<i className="iconfont icon-icon-fold c-gray" />}
|
switcherIcon={<i className="iconfont icon-icon-fold c-gray" />}
|
||||||
/>
|
/>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user