From d969bab93b5e5af835c50f9f878c03cf11742eba Mon Sep 17 00:00:00 2001 From: sjh Date: Sun, 17 Nov 2024 22:57:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=81=B5=E6=95=8F=E6=84=9F?= =?UTF-8?q?=E7=9F=A5=E5=A4=A7=E5=B1=8F2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/datav/Lmgz.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/views/datav/Lmgz.vue b/src/views/datav/Lmgz.vue index 653aeda..f009c57 100644 --- a/src/views/datav/Lmgz.vue +++ b/src/views/datav/Lmgz.vue @@ -199,7 +199,6 @@ - @@ -236,7 +235,6 @@ - @@ -273,7 +271,6 @@ - @@ -497,7 +494,7 @@ const eachData = (data) => { data.forEach(item => { arr.push({ label: item.name, - value: 'score' in item ? Number(item.score) : Number(item.value) + value: item['score'] != null ? Number(item.score) : Number(item.value) }); }); return arr;