|
@@ -21,8 +21,9 @@ const businessFlowMiddlewareLogic: Middleware =
|
|
`[businessFlowMiddleware] Current business flow is now: ${state.currentKey} ; Last key was: ${state.lastKey}`
|
|
`[businessFlowMiddleware] Current business flow is now: ${state.currentKey} ; Last key was: ${state.lastKey}`
|
|
);
|
|
);
|
|
//进入检查
|
|
//进入检查
|
|
- if (currentKey === 'exam') {
|
|
|
|
|
|
+ if (action.payload === 'exam') {
|
|
prepare();
|
|
prepare();
|
|
|
|
+ return next(action);
|
|
}
|
|
}
|
|
if (isFromExamToView(action.payload, currentKey)) {
|
|
if (isFromExamToView(action.payload, currentKey)) {
|
|
//从检查进入图像处理,有可能是曝光导致的,怎么知道呢?看发生器状态
|
|
//从检查进入图像处理,有可能是曝光导致的,怎么知道呢?看发生器状态
|