소스 검색

运行统计

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