|
@@ -21,6 +21,7 @@ import {
|
|
api_remove_recordStartTime,
|
|
api_remove_recordStartTime,
|
|
api_startCapture,
|
|
api_startCapture,
|
|
api_endCapture,
|
|
api_endCapture,
|
|
|
|
+ api_closeCamera,
|
|
api_getDeviceDelay,
|
|
api_getDeviceDelay,
|
|
hideComplexButton,
|
|
hideComplexButton,
|
|
api_checkSocketStatus,
|
|
api_checkSocketStatus,
|
|
@@ -545,7 +546,7 @@ export const handleEndEvaluat = (isComplete = false, endType?: string) => {
|
|
evaluatingData.isComplete = isComplete;
|
|
evaluatingData.isComplete = isComplete;
|
|
// 如果开启了摄像头, 结束录制视频
|
|
// 如果开启了摄像头, 结束录制视频
|
|
if (state.setting.camera) {
|
|
if (state.setting.camera) {
|
|
- console.log("结束录制视频");
|
|
|
|
|
|
+ console.log("结束录制视频1");
|
|
api_endCapture();
|
|
api_endCapture();
|
|
}
|
|
}
|
|
};
|
|
};
|
|
@@ -604,8 +605,9 @@ export const handleCancelEvaluat = (cancelType?: string) => {
|
|
});
|
|
});
|
|
// 如果开启了摄像头, 结束录制视频
|
|
// 如果开启了摄像头, 结束录制视频
|
|
if (state.setting.camera) {
|
|
if (state.setting.camera) {
|
|
- console.log("结束录制视频");
|
|
|
|
|
|
+ console.log("结束录制视频2");
|
|
api_endCapture();
|
|
api_endCapture();
|
|
|
|
+ api_closeCamera();
|
|
}
|
|
}
|
|
};
|
|
};
|
|
|
|
|