From 255fdd1d6eff5167e3f43c6fa61c749d58fea9b7 Mon Sep 17 00:00:00 2001 From: X_Rian <904416525@qq.com> Date: Sat, 15 Jun 2024 17:58:41 +0800 Subject: [PATCH] =?UTF-8?q?flx=EF=BC=9A=E8=B0=83=E6=95=B4=E6=8C=87?= =?UTF-8?q?=E6=8C=A5=E9=83=A8=E5=A4=A7=E5=B1=8F=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../commandCenter/centerBottom.vue | 2 +- .../commandScreen/commandCenter/centerTop.vue | 791 +++++++++--------- 2 files changed, 403 insertions(+), 390 deletions(-) diff --git a/src/views/commandScreen/commandCenter/centerBottom.vue b/src/views/commandScreen/commandCenter/centerBottom.vue index d5dcb5f9..f04875b5 100644 --- a/src/views/commandScreen/commandCenter/centerBottom.vue +++ b/src/views/commandScreen/commandCenter/centerBottom.vue @@ -300,7 +300,7 @@ function getMessEchart() { itemHeight: 8, itemWidth: 8, icon: "rect", - data: dataList.map((item: any) => item.name), + data: dataList && dataList.map((item: any) => item.name), formatter: function (params: any) { let val = ""; if (params.length > 4) { diff --git a/src/views/commandScreen/commandCenter/centerTop.vue b/src/views/commandScreen/commandCenter/centerTop.vue index 27caf5f7..4b73d847 100644 --- a/src/views/commandScreen/commandCenter/centerTop.vue +++ b/src/views/commandScreen/commandCenter/centerTop.vue @@ -5,37 +5,37 @@ -
- 安全隐患治理 + + 安全隐患治理