浏览代码

修复进入系统自检时没有请求最新的数据

xujunjie 1 年之前
父节点
当前提交
84881ce8c9
共有 1 个文件被更改,包括 0 次插入7 次删除
  1. 0 7
      src/pages/EqSelfInspection/index.js

+ 0 - 7
src/pages/EqSelfInspection/index.js

@@ -100,13 +100,6 @@ const EqSelfInspection = (props) => {
           routeId: routeId,
         },
       });
-    } else if (autoReport.Id) {
-      dispatch({
-        type: 'eqSelfInspection/getPatrolDataById',
-        payload: {
-          routeId: autoReport.Id,
-        },
-      });
     } else {
       getDate();
     }