mirror of
https://github.com/PlayEdu/backend
synced 2025-12-23 11:39:51 +08:00
分类、部门组件点击全部取消选中状态修复
This commit is contained in:
@@ -89,7 +89,12 @@ export const TreeDepartment = (props: PropInterface) => {
|
||||
>
|
||||
全部{props.text}
|
||||
</div>
|
||||
<Tree onSelect={onSelect} onExpand={onExpand} treeData={treeData} />
|
||||
<Tree
|
||||
selectedKeys={selectKey}
|
||||
onSelect={onSelect}
|
||||
onExpand={onExpand}
|
||||
treeData={treeData}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user