Commit ad1c15ba by zhaochengxiang

资产目录详情刷新

parent cf5cb9fd
...@@ -50,6 +50,7 @@ const AssetMount = (props) => { ...@@ -50,6 +50,7 @@ const AssetMount = (props) => {
return( return(
<Modal <Modal
forceRender
title={(reference===AssetRecycleReference)?'挂载目录详情':'变更目录详情'} title={(reference===AssetRecycleReference)?'挂载目录详情':'变更目录详情'}
visible={ visible } visible={ visible }
width={ 400 } width={ 400 }
...@@ -60,12 +61,14 @@ const AssetMount = (props) => { ...@@ -60,12 +61,14 @@ const AssetMount = (props) => {
}} }}
onOk={ onOk } onOk={ onOk }
> >
<AssetTree {
visible && <AssetTree
checkable={true} checkable={true}
onCheck={onCheck} onCheck={onCheck}
tableId={(reference===AssetManageReference&&(ids||[].length>0))?ids[0]:''} tableId={(reference===AssetManageReference&&(ids||[].length>0))?ids[0]:''}
reference={AssetMountReference} reference={AssetMountReference}
/> />
}
</Modal> </Modal>
) )
} }
......
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