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