diff --git a/src/components/content/airInfo/AirInfo.vue b/src/components/content/airInfo/AirInfo.vue index 92c9b9a..a5fd82b 100644 --- a/src/components/content/airInfo/AirInfo.vue +++ b/src/components/content/airInfo/AirInfo.vue @@ -39,13 +39,13 @@ watch(() => props.airData, (now) => { getAirInfo(now.sensorList) }, {deep: true}); -const changeData = (item, flag) => { +const changeData = (item) => { return { equipmentId: item.equipmentId, icon: changeIcon(item.equipmentType), name: item.equipmentName.slice(0, 2), max: 120, - value: flag ? flag.value : item.value, + value: item.value, point: item.valueThreshold, unit: item.unit } diff --git a/src/components/content/badGasInfo/BadGasInfo.vue b/src/components/content/badGasInfo/BadGasInfo.vue index 900ace3..9c3764e 100644 --- a/src/components/content/badGasInfo/BadGasInfo.vue +++ b/src/components/content/badGasInfo/BadGasInfo.vue @@ -2,70 +2,52 @@
有害气体
- - - - - - +