Commit 16c7e77b by zhaochengxiang

调整资产目录树按钮

parent 216b1d23
......@@ -546,13 +546,13 @@ const AssetTree = (props) => {
<Tooltip title="新增目录">
<PlusOutlined onClick={addDir} style={{ fontSize:16,cursor: (currentDirType==='custom-root'||currentDirType==='custom')?'not-allowed':'pointer', color: (currentDirType==='custom-root'||currentDirType==='custom')?'#bfbfbf': '' }}/>
</Tooltip>
<Tooltip title="修改目录" className='ml-3'>
<Tooltip title="修改目录" className='ml-2'>
<EditOutlined onClick={editDir} style={{ fontSize:16,cursor: 'pointer' }} />
</Tooltip>
<Tooltip title="刷新目录" className='ml-3'>
<Tooltip title="刷新目录" className='ml-2'>
<ReloadOutlined onClick={refreshTree} style={{ fontSize:16,cursor:'pointer' }} />
</Tooltip>
<Tooltip title="导入目录" className='ml-3'>
<Tooltip title="导入目录" className='ml-2'>
<ImportOutlined onClick={importDir} style={{ fontSize:16,cursor:(currentDirType==='custom-root'||currentDirType==='custom')?'not-allowed':'pointer', color: (currentDirType==='custom-root'||currentDirType==='custom')?'#bfbfbf': '' }} />
</Tooltip>
<Dropdown overlay={exportMenu} placement="bottomLeft" className='ml-3'>
......@@ -566,10 +566,10 @@ const AssetTree = (props) => {
<Tooltip title="下移目录" className='ml-2'>
<ArrowDownOutlined onClick={() => { moveNode(-1); }} style={{ fontSize:16,cursor:'pointer' }} />
</Tooltip>
<Tooltip title="删除目录" className='ml-3'>
<Tooltip title="删除目录" className='ml-2'>
<DeleteOutlined onClick={deleteDir} style={{ fontSize:16,cursor:(currentDirType==='custom')?'not-allowed':'pointer', color: (currentDirType==='custom')?'#bfbfbf': '' }} />
</Tooltip>
<Tooltip title="自定义目录" className='ml-3'>
<Tooltip title="自定义目录" className='ml-2'>
<SettingOutlined onClick={customDir} style={{ fontSize:16,cursor:'pointer' }} />
</Tooltip>
</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