From 4e7fcdb615a983e1456dfb0ec23190b5769e4c52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E5=87=A4=E5=90=89?= Date: Thu, 3 Jul 2025 20:45:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E5=AF=86=E5=B0=81?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E9=A1=B5=E9=9D=A2=E6=B2=A1=E6=9C=89=E4=BF=9D?= =?UTF-8?q?=E7=95=99=E5=B0=8F=E6=95=B0=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/seal/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/seal/index.vue b/src/views/seal/index.vue index 027f4a8..e73083d 100644 --- a/src/views/seal/index.vue +++ b/src/views/seal/index.vue @@ -6,6 +6,7 @@ import SealInstrumentSvg from 'assets/images/seal/seal-instrument.svg' import SoftKeyboard from 'components/common/SoftKeyboard/index.vue' import DashboardChart from 'components/seal/DashboardChart.vue' import { startPosityveTimer, stopPosityveTimer } from 'libs/timer' +import { roundNumber } from 'libs/utils' import { computed, onMounted, ref, watch, watchEffect } from 'vue' import { getDeviceStatus } from '@/libs/deviceComm' @@ -182,7 +183,7 @@ const diffPressure = computed(() => { 气压差值
- {{ diffPressure }} + {{ roundNumber(diffPressure, 2) }} Kp