Commit 54ce6957 by zhaochengxiang

资产

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