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 @@ -
- 安全隐患治理 + + 安全隐患治理