mirror of
https://github.com/PlayEdu/backend
synced 2025-10-26 15:21:27 +08:00
tree分类、部门组件只显示一级
This commit is contained in:
@@ -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" />}
|
||||
/>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user