浏览代码

fix: 环境检测传感器数据不显示问题

ZhaoJun 1 年之前
父节点
当前提交
f6e5d98351
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/pages/SmartOps/index.js

+ 1 - 1
src/pages/SmartOps/index.js

@@ -171,7 +171,7 @@ function SmartOps(props) {
           data.environment_list?.filter((item) => item.status)?.length || 0;
         // const count3 =
         //   data.fluid_level_list?.filter((item) => item.status)?.length || 0;
-        setVideoNum(count1 + count2 + count3);
+        setVideoNum(count1 + count2);
         const Cam =
           data.dumu_list?.map((item) => {
             item.key = `dumu_${item.id}`;