|
@@ -430,10 +430,6 @@ export default {
|
|
|
if (faceCheckEnabled) {
|
|
|
this.faceEnable = true;
|
|
|
|
|
|
- // setTimeout(() => {
|
|
|
- // this.toggleSnapNow(); // 开启抓拍才在进入考试时抓拍一张
|
|
|
- // }, 60 * 1000); // 60秒后抓拍
|
|
|
-
|
|
|
let initSnapshotTrialTimes = 0;
|
|
|
this.initSnapInterval = setInterval(() => {
|
|
|
const video = document.getElementById("video");
|
|
@@ -493,6 +489,11 @@ export default {
|
|
|
const SNAPSHOT_INTERVAL = JSON.parse(examProp.SNAPSHOT_INTERVAL);
|
|
|
// 考务设置抓拍间隔
|
|
|
this.snapInterval = setInterval(() => {
|
|
|
+ this.logger({
|
|
|
+ action: "答题页面",
|
|
|
+ detail: "定时抓拍",
|
|
|
+ SNAPSHOT_INTERVAL: examProp.SNAPSHOT_INTERVAL,
|
|
|
+ });
|
|
|
this.toggleSnapNow();
|
|
|
}, SNAPSHOT_INTERVAL * 60 * 1000);
|
|
|
}
|