From a89a11f5d3599db3eda959be2c2e13281be6be19 Mon Sep 17 00:00:00 2001 From: X_Rian <904416525@qq.com> Date: Mon, 3 Jun 2024 19:23:40 +0800 Subject: [PATCH] 1 --- src/views/commandScreen/commandCenter/centerBottom.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/commandScreen/commandCenter/centerBottom.vue b/src/views/commandScreen/commandCenter/centerBottom.vue index 2a745ad..84b5a4b 100644 --- a/src/views/commandScreen/commandCenter/centerBottom.vue +++ b/src/views/commandScreen/commandCenter/centerBottom.vue @@ -22,7 +22,7 @@
-
+

暂无数据

@@ -435,7 +435,8 @@ function Pie() { // ]); const messCountType = ref({ count: 0, - data: [] + data: [], + code: 0 }); function getMessCountEchart() { let echartsTest = echarts.init(document.getElementById("eacherMessCount")); @@ -684,6 +685,7 @@ const getMessCountEchartType = async () => { } }; }); + messCountType.value.code = res.code; messCountType.value.count = res.result.count; getMessCountEchart(); };