|
@@ -422,7 +422,7 @@ const SelectComponentsUnit: React.FC<Props> = ({ num: count, defaultParams, chec
|
|
|
onClick={() => !disabled && onCheckboxChange(!isSelect, item, type)}
|
|
|
>
|
|
|
<div className={style.body}>
|
|
|
- <Text ellipsis strong style={{ flex: '1 0', color: item?.status !== '正常' ? 'red' : 'rgba(0, 0, 0, 0.85)' }}>{item?.status !== '正常' ? item?.status : item?.componentCustomName}</Text>
|
|
|
+ <Text ellipsis={{ tooltip: { placement: 'bottomLeft' } }} strong style={{ flex: '1 0', color: item?.status !== '正常' ? 'red' : 'rgba(0, 0, 0, 0.85)' }}>{item?.status !== '正常' ? item?.status : item?.componentCustomName}</Text>
|
|
|
</div>
|
|
|
<Divider style={{ margin: '0 0 4px 0' }} />
|
|
|
<div style={{ padding: '0 10px 6px' }}>
|