|
@@ -595,7 +595,6 @@ export function WarningTable(props) {
|
|
|
const [errVisible, setErrVisible] = useState(false);
|
|
|
const [currentItem, setCurrentItem] = useState({});
|
|
|
const isSensor = type == 'sensor';
|
|
|
- console.log('--------------', items);
|
|
|
|
|
|
const onClickThreshold = (record) => {
|
|
|
setCurrentItem(record);
|
|
@@ -635,11 +634,7 @@ export function WarningTable(props) {
|
|
|
title: '设定值范围',
|
|
|
width: '30%',
|
|
|
render: (record) => (
|
|
|
- <ThresholdDetail
|
|
|
- current={record.Value || 0}
|
|
|
- data={record || {}}
|
|
|
- // onClick={() => onClickThreshold(record)}
|
|
|
- />
|
|
|
+ <ThresholdDetail current={record.Value || 0} data={record || {}} />
|
|
|
),
|
|
|
},
|
|
|
{
|