Commit 54ce6957 by zhaochengxiang

资产

parent 672356de
...@@ -696,8 +696,8 @@ const AssetTree = (props) => { ...@@ -696,8 +696,8 @@ const AssetTree = (props) => {
action={ customDirectoryAction } action={ customDirectoryAction }
dirId= { currentDirId } dirId= { currentDirId }
/> />
{
<RcMenu id={MENU_ID}> (reference!==AssetMountReference) && <RcMenu id={MENU_ID}>
<RcItem id="edit" onClick={editDir}> <RcItem id="edit" onClick={editDir}>
修改目录 修改目录
</RcItem> </RcItem>
...@@ -712,6 +712,7 @@ const AssetTree = (props) => { ...@@ -712,6 +712,7 @@ const AssetTree = (props) => {
</RcItem> </RcItem>
</RcMenu> </RcMenu>
}
{contextHolder} {contextHolder}
</Card> </Card>
) )
......
...@@ -504,8 +504,8 @@ const ModelTree = (props) => { ...@@ -504,8 +504,8 @@ const ModelTree = (props) => {
onOk={onUpdateTreeItemModalOk} onOk={onUpdateTreeItemModalOk}
onCancel={onUpdateTreeItemModalCancel} onCancel={onUpdateTreeItemModalCancel}
/> />
{
<RcMenu id={MENU_ID}> (refrence!=='recatalog') && <RcMenu id={MENU_ID}>
<RcItem id="edit" onClick={update}> <RcItem id="edit" onClick={update}>
修改目录 修改目录
</RcItem> </RcItem>
...@@ -519,6 +519,7 @@ const ModelTree = (props) => { ...@@ -519,6 +519,7 @@ const ModelTree = (props) => {
删除目录 删除目录
</RcItem> </RcItem>
</RcMenu> </RcMenu>
}
{contextHolder} {contextHolder}
</div> </div>
); );
......
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