Commit 4cae7693 by zhangleyuan

feat:修改权限

parent f8aaa9b4
......@@ -733,8 +733,7 @@ class FolderList extends React.Component {
<Menu.Divider key="administration-bottom"/>
]
}
{
folderType === 'FILE' &&
{(folderType === 'FILE' && (rights === "LOOK_DOWNLOAD" || rights === 'EDIT') ) &&
<Menu.Item key="download">
<span onClick={() => { this.handleDownload(record) }}>下载</span>
</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