Browse Source

fix(exam, process): skip exposure check when entering image processing from exam

Remove unnecessary exposure status verification when transitioning from exam to image processing
dengdx 1 day ago
parent
commit
56937a5391
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/states/businessFlowMiddlewareLogic.ts

+ 2 - 1
src/states/businessFlowMiddlewareLogic.ts

@@ -43,7 +43,8 @@ const businessFlowMiddlewareLogic: Middleware =
     if (
       isExitingExam(action.payload, currentKey) &&
       action.payload !== 'exitExamCompleted' &&
-      action.payload !== 'exitExamSuspended'
+      action.payload !== 'exitExamSuspended' &&
+      action.payload !== 'process' // 从检查进入处理,不需要检查曝光情况
     ) {
       console.log(
         `[businessFlowMiddleware] Exiting exam flow to go to : ${action.payload}`