From 6e2cd685a7aa590bf00f8932dbc83c9ff91c7c3e Mon Sep 17 00:00:00 2001 From: z_yu <1534695664@qq.com> Date: Thu, 25 Aug 2022 11:51:47 +0800 Subject: [PATCH] =?UTF-8?q?3d=E5=BA=93=E6=88=BF=20curstatus=20!=3D=3D=20'0?= =?UTF-8?q?'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../storeManage/warehouse3D/archivesStorage/index.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/storeManage/warehouse3D/archivesStorage/index.vue b/src/views/storeManage/warehouse3D/archivesStorage/index.vue index 1be66f5..dd4ddeb 100644 --- a/src/views/storeManage/warehouse3D/archivesStorage/index.vue +++ b/src/views/storeManage/warehouse3D/archivesStorage/index.vue @@ -33,14 +33,14 @@

VOC {{ topDisplayData.DAK_DIV_TOP_004.unit }}

-
  • +
  • {{ topDisplayData.DAK_DIV_TOP_005.curValue }}

    PM2.5 {{ topDisplayData.DAK_DIV_TOP_005.unit }}

  • -
  • +
  • {{ topDisplayData.DAK_DIV_TOP_006.curValue }} @@ -278,11 +278,12 @@ export default { return item.property_id === siduParamId && item.device_id === element.deviceInfo.deviceId }) } + console.log(wendu?.curstatus, sidu?.curstatus) this.oaoMessage.push({ id: element.divPosition, wendu: (wendu?.curvalue) ? (Math.round(wendu?.curvalue)) : '-', sidu: (sidu?.curvalue) ? (Math.round(sidu?.curvalue)) : '-', - alarmState: (wendu && wendu.curstatus === '1') || (sidu && sidu.curstatus === '1') + alarmState: (wendu && wendu.curstatus !== '0') || (sidu && sidu.curstatus !== '0') }) } })