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(); };