Commit be4ea3db by zhangleyuan

feat:处理权限

parent 4cae7693
...@@ -738,8 +738,8 @@ class FolderList extends React.Component { ...@@ -738,8 +738,8 @@ class FolderList extends React.Component {
<span onClick={() => { this.handleDownload(record) }}>下载</span> <span onClick={() => { this.handleDownload(record) }}>下载</span>
</Menu.Item> </Menu.Item>
} }
{ {(currentRootDisk.disk === 'COMMON' && (rights === "LOOK_DOWNLOAD" || rights === 'EDIT') ) &&
currentRootDisk.disk === 'COMMON' &&
<Menu.Item key="copy"> <Menu.Item key="copy">
<span onClick={() => this.handleShowCopyFileModal(record)}>复制到</span> <span onClick={() => this.handleShowCopyFileModal(record)}>复制到</span>
</Menu.Item> </Menu.Item>
......
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