yuanchao преди 1 месец
родител
ревизия
0d7f5060bf
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/views/pms/iotopeationfill/statistics .vue

+ 1 - 1
src/views/pms/iotopeationfill/statistics .vue

@@ -310,7 +310,7 @@ const getStats = async () => {
   // 获取部门统计数据
   IotStatApi.getDeptStatistics(queryParams).then((res) => {
     deptDataList.value = res.deptCountList || [];
-    status.value = res.totalList;
+    status.value = res.totalList || [];
     initChart()
     initCharts()
   })