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