|
|
@ -75,7 +75,7 @@ const ResourceRepository = (props) => { |
|
|
|
const child = data.children ? true : false; |
|
|
|
const key = data.key.split('/'); |
|
|
|
return (<div> |
|
|
|
<Tooltip content={label}><span >{label.length > 8 ? label.substring(0, 8) + '...' : label}</span></Tooltip> |
|
|
|
<Tooltip content={label}><span >{label.length > 7 ? label.substring(0, 7) + '...' : label}</span></Tooltip> |
|
|
|
{true == data.operation ? |
|
|
|
<span className='tree-icon'> |
|
|
|
<IconEditStroked size='default' onClick={() => handleFolderClick(child ? '编辑' : '编辑子', !child, key[1], key[2] || undefined)} /> |
|
|
|