mirror of
https://github.com/PlayEdu/backend
synced 2025-07-23 21:59:43 +08:00
tree分类、部门组件只显示一级
This commit is contained in:
parent
fd4bc958cc
commit
e5b3e2570a
@ -102,7 +102,7 @@ export const TreeCategory = (props: PropInterface) => {
|
|||||||
selectedKeys={selectKey}
|
selectedKeys={selectKey}
|
||||||
onExpand={onExpand}
|
onExpand={onExpand}
|
||||||
treeData={treeData}
|
treeData={treeData}
|
||||||
defaultExpandAll={true}
|
// defaultExpandAll={true}
|
||||||
switcherIcon={<i className="iconfont icon-icon-fold c-gray" />}
|
switcherIcon={<i className="iconfont icon-icon-fold c-gray" />}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
@ -165,7 +165,7 @@ export const TreeDepartment = (props: PropInterface) => {
|
|||||||
onSelect={onSelect}
|
onSelect={onSelect}
|
||||||
onExpand={onExpand}
|
onExpand={onExpand}
|
||||||
treeData={treeData}
|
treeData={treeData}
|
||||||
defaultExpandAll={true}
|
// defaultExpandAll={true}
|
||||||
switcherIcon={<i className="iconfont icon-icon-fold c-gray" />}
|
switcherIcon={<i className="iconfont icon-icon-fold c-gray" />}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user