|
@@ -100,11 +100,6 @@ export default {
|
|
--this.timeCount;
|
|
--this.timeCount;
|
|
if (this.timeCount === 0) {
|
|
if (this.timeCount === 0) {
|
|
clearInterval(timeCountInterval);
|
|
clearInterval(timeCountInterval);
|
|
- // this.$Message.error({
|
|
|
|
- // content: "人脸检测超时,检测失败,系统退出,请重新登录",
|
|
|
|
- // duration: 30
|
|
|
|
- // });
|
|
|
|
- // this.logout();
|
|
|
|
}
|
|
}
|
|
}, 1000);
|
|
}, 1000);
|
|
|
|
|
|
@@ -175,7 +170,7 @@ export default {
|
|
} else if (receivedMsg.verifyResult == "VERIFY_SUCCESS") {
|
|
} else if (receivedMsg.verifyResult == "VERIFY_SUCCESS") {
|
|
this.$Message.info({
|
|
this.$Message.info({
|
|
content: "人脸检测成功,请继续完成考试",
|
|
content: "人脸检测成功,请继续完成考试",
|
|
- duration: 30
|
|
|
|
|
|
+ duration: 15
|
|
});
|
|
});
|
|
this.faceTestEndHandle("SUCCESS");
|
|
this.faceTestEndHandle("SUCCESS");
|
|
}
|
|
}
|
|
@@ -184,7 +179,7 @@ export default {
|
|
// FIXME: 什么逻辑?
|
|
// FIXME: 什么逻辑?
|
|
this.$Message.info({
|
|
this.$Message.info({
|
|
content: "人脸检测成功,请继续完成考试",
|
|
content: "人脸检测成功,请继续完成考试",
|
|
- duration: 30
|
|
|
|
|
|
+ duration: 15
|
|
});
|
|
});
|
|
this.faceTestEndHandle("SUCCESS");
|
|
this.faceTestEndHandle("SUCCESS");
|
|
} else {
|
|
} else {
|