|
@ -79,7 +79,8 @@ export default (props) => { |
|
|
<Row> |
|
|
<Row> |
|
|
<Col span={24}> |
|
|
<Col span={24}> |
|
|
{ |
|
|
{ |
|
|
editData?.points?.inspectContent && editData?.points?.inspectContent.map(s => { |
|
|
editData?.points?.inspectContent && Array.isArray(editData?.points?.inspectContent) && |
|
|
|
|
|
editData?.points?.inspectContent?.map(s => { |
|
|
if (s?.alarm == true) { |
|
|
if (s?.alarm == true) { |
|
|
return <> |
|
|
return <> |
|
|
{s?.deviceName && <Col span={12}> |
|
|
{s?.deviceName && <Col span={12}> |
|
|