Commit 1cd19c95afe1b845972ae6b1e20df40c1b1a59e0
1 parent
a1fd2787
1.处理停机不弹窗bug
Showing
1 changed file
with
1 additions
and
1 deletions
src/mes/common/siderInfoComponent/index.js
| @@ -602,7 +602,7 @@ const DeviceTargetInfoComponent = () => { | @@ -602,7 +602,7 @@ const DeviceTargetInfoComponent = () => { | ||
| 602 | 602 | ||
| 603 | useEffect( | 603 | useEffect( |
| 604 | () => { | 604 | () => { |
| 605 | - if (sStatusName?.includes("停") && bPopup && iPopDuration) { | 605 | + if (bPopup && iPopDuration) { |
| 606 | const restTime = Math.max( | 606 | const restTime = Math.max( |
| 607 | iPopDuration * 60 * 1000 - dProduceHour * 1000, | 607 | iPopDuration * 60 * 1000 - dProduceHour * 1000, |
| 608 | 0 | 608 | 0 |