Commit e0c7f11e authored by 前端-许佳敏's avatar 前端-许佳敏

fix: v1版本

parent 9b974642
......@@ -13,6 +13,7 @@ export interface OrgModalProps {
selectKeys: any[],
onSuccess(selectKeys: any[]),
onCancel(),
modalRef: any,
}
......@@ -30,13 +31,14 @@ const OrgModal:React.FC<OrgModalProps> = (props) => {
useEffect(() => {
syncTreeActions.setSelectKeys(selectKeys)
}, [selectKeys])
}, [selectKeys, syncTreeActions])
return (
<Drawer
visible={visible}
closable={false}
placement='right'
width={600}
forceRender
>
<TabTree
fetchData = {params => fetchOrgsTreeData()}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment