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