Commit 96b3b9d3 by fanyj

提交

parent 9661293a
...@@ -1052,7 +1052,7 @@ const AssetManageTree = (props) => { ...@@ -1052,7 +1052,7 @@ const AssetManageTree = (props) => {
dirId= { currentDirId } dirId= { currentDirId }
/> />
{ {
(reference!==AssetMountReference&&(havePermission||currentRightClickDir?.allowUpdateDir||currentRightClickDir?.allowDeleteDir)) && <RcMenu id={MENU_ID}> (reference!==AssetMountReference&&(havePermission||currentRightClickDir?.allowUpdateDir||currentRightClickDir?.allowDeleteDir||currentRightClickDir?.allowAddDir)) && <RcMenu id={MENU_ID}>
{ {
viewSelectedKeyRef.current==='dir' && <React.Fragment> viewSelectedKeyRef.current==='dir' && <React.Fragment>
{(havePermission||currentRightClickDir?.allowUpdateDir)&&<RcItem id="edit" onClick={editDir}> {(havePermission||currentRightClickDir?.allowUpdateDir)&&<RcItem id="edit" onClick={editDir}>
......
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