Commit e2aaf708 by zhaochengxiang

样式调整

parent 1cc1346c
......@@ -230,6 +230,8 @@ const AssetTree = (props) => {
}
const deleteDir = () => {
if (currentDirType === 'custom') return;
if (currentDirId) {
modal.confirm({
title: '提示',
......@@ -386,7 +388,7 @@ const AssetTree = (props) => {
</Tooltip>
</Dropdown>
<Tooltip title="删除" className='ml-3'>
<DeleteOutlined onClick={deleteDir} style={{ fontSize:16,cursor:'pointer' }} disabled={currentDirType==='custom'} />
<DeleteOutlined onClick={deleteDir} style={{ fontSize:16,cursor:(currentDirType==='custom')?'not-allowed':'pointer', color: (currentDirType==='custom')?'#bfbfbf': '' }} />
</Tooltip>
<Tooltip title="自定义" className='ml-3'>
<SettingOutlined onClick={customDir} style={{ fontSize:16,cursor:'pointer' }} />
......
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