From 5590ff776d64632841d4214ffcea953b83583c15 Mon Sep 17 00:00:00 2001 From: yxq Date: Wed, 23 Oct 2024 09:30:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E5=B1=8F=E9=A6=96=E9=A1=B5=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E6=95=B0=E5=AD=97=E7=9B=B8=E5=85=B3=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SafeCampus.WEB/src/views/screen/component/index/peopeleNum.vue | 1 + SafeCampus.WEB/src/views/screen/component/index/todayNotice.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/SafeCampus.WEB/src/views/screen/component/index/peopeleNum.vue b/SafeCampus.WEB/src/views/screen/component/index/peopeleNum.vue index 202fa47..4ba7d67 100644 --- a/SafeCampus.WEB/src/views/screen/component/index/peopeleNum.vue +++ b/SafeCampus.WEB/src/views/screen/component/index/peopeleNum.vue @@ -239,6 +239,7 @@ const getCharts2 = data => { // 设备统计 const count = ref(0); const getCharts3 = () => { + count.value = 0; const chart = echarts.init(chart3.value); let data = props.screenData.camera || []; let xArr = data.map(e => e.cameraInfos.length); diff --git a/SafeCampus.WEB/src/views/screen/component/index/todayNotice.vue b/SafeCampus.WEB/src/views/screen/component/index/todayNotice.vue index 22211ab..af84e82 100644 --- a/SafeCampus.WEB/src/views/screen/component/index/todayNotice.vue +++ b/SafeCampus.WEB/src/views/screen/component/index/todayNotice.vue @@ -82,6 +82,7 @@ const getData = () => { typeStatisti.value = props.screenData.alarmStatisti.typeStatisti.sort((a, b) => { return b.value - a.value; }); + typeStatistiCount.value = 0; typeStatisti.value.forEach(e => { typeStatistiCount.value += e.value; });