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