Commit e929c565 authored by 涂伟's avatar 涂伟

fix: '表设计功能物联设备表分类删除按钮隐藏'

parent d19a4bde
...@@ -655,26 +655,28 @@ const TableManager = props => { ...@@ -655,26 +655,28 @@ const TableManager = props => {
style={{ fontSize: '16px', color: '#1890FF' }} style={{ fontSize: '16px', color: '#1890FF' }}
/> />
</Tooltip> */} </Tooltip> */}
<div onClick={e => e.stopPropagation()}> {record.groupName !== '物联设备表' ? (
<Popconfirm <div onClick={e => e.stopPropagation()}>
title="是否删除该表?" <Popconfirm
okText="确认" title="是否删除该表?"
cancelText="取消" okText="确认"
onConfirm={() => { cancelText="取消"
deleteChart(record); onConfirm={() => {
}} deleteChart(record);
> }}
<Tooltip title="删除"> >
{/* <DeleteOutlined style={{ fontSize: '16px', color: '#e86060' }} /> */} <Tooltip title="删除">
<img {/* <DeleteOutlined style={{ fontSize: '16px', color: '#e86060' }} /> */}
className={styles.btnImg} <img
src={deleteSvg} className={styles.btnImg}
alt="" src={deleteSvg}
style={{ width: '16px', color: '#1890FF' }} alt=""
/> style={{ width: '16px', color: '#1890FF' }}
</Tooltip> />
</Popconfirm> </Tooltip>
</div> </Popconfirm>
</div>
) : null}
</Space> </Space>
), ),
}, },
......
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