From 9d3b769d7dc71a03eda1d2e9e00696c081ce8e5d Mon Sep 17 00:00:00 2001 From: hzz Date: Fri, 19 May 2023 08:44:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AE=89=E5=85=A8=E4=BC=A0?= =?UTF-8?q?=E6=84=9F=E5=99=A8=E9=A2=9C=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/realtimeSecurity/content/chart/verticalNumLoop.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/realtimeSecurity/content/chart/verticalNumLoop.vue b/src/views/realtimeSecurity/content/chart/verticalNumLoop.vue index ec153a6..6f3d1ec 100644 --- a/src/views/realtimeSecurity/content/chart/verticalNumLoop.vue +++ b/src/views/realtimeSecurity/content/chart/verticalNumLoop.vue @@ -65,8 +65,8 @@ let timer = null; let item:any = computed(() => { return props.value[i.value]; }); -let iconcolor = computed(() => { - return item.status?item.val > props.limit ? "icon-red" : "icon-blue":"icon-grey"; +let iconcolor = computed(() => { + return props.value[i.value].status?item.val > props.limit ? "icon-red" : "icon-blue":"icon-grey"; }); let props = defineProps<{ title: string;