diff --git a/web/client/src/sections/shouye/containers/shouye.js b/web/client/src/sections/shouye/containers/shouye.js index 008a768..5f9b275 100644 --- a/web/client/src/sections/shouye/containers/shouye.js +++ b/web/client/src/sections/shouye/containers/shouye.js @@ -98,10 +98,10 @@ const Information = (props) => { if (ext2) { ext2.num++; if(repairOk){ - ext2.repairNum += l.patrolRecordIssueHandles[0]?.yanshoucishu; + ext2.repairNum ++; } } else { - let repairNum = repairOk ? l?.patrolRecordIssueHandles[0]?.yanshoucishu : 0; + let repairNum = repairOk ? 1 : 0; arr2?.push({ name: l?.point?.name, num: 1, repairNum }) } })