Commit 42233108 by zhaochengxiang

bug fix

parent e7e23838
......@@ -631,7 +631,7 @@ const ModelTree = (props) => {
</Dropdown>
{
((viewSelectedKey==='dir'&&isAdmin) || viewSelectedKey==='branch') && (
((viewSelectedKey==='dir'||viewSelectedKey==='branch')&&isAdmin) && (
<Tooltip title={(viewSelectedKey==='dir')?"新增目录":'新增项目'}>
<PlusOutlined className='default' onClick={add} style={{ fontSize:16,cursor:'pointer' }} />
</Tooltip>
......
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