|
@@ -276,6 +276,7 @@ const getMessage = (e: any) => {
|
|
|
* 开始识别
|
|
|
*/
|
|
|
const getOpenOneTestAndStartFace = async () => {
|
|
|
+ showTestAgain.value = false;
|
|
|
if (examState.value > 3) {
|
|
|
await closeOneTest();
|
|
|
}
|
|
@@ -473,6 +474,7 @@ const getAgain = async () => {
|
|
|
await startFace();
|
|
|
await stopFace();
|
|
|
getFaceConfirmOnly(student);
|
|
|
+ showTestAgain.value = false;
|
|
|
loading?.close();
|
|
|
let loadingTime = setTimeout(() => {
|
|
|
loading?.close();
|
|
@@ -489,6 +491,7 @@ const getConfirmEnd = async () => {
|
|
|
getClearTimer();//清除计时器
|
|
|
speckCancel()//停止播报;
|
|
|
let loading = ElLoading.service({ text: '请稍等...', background: 'rgba(0, 0, 0, 0.8)', customClass: `sports ${parameter.value.project}` });
|
|
|
+ showTestAgain.value = false;
|
|
|
//测试中
|
|
|
if (examState.value == 42) {
|
|
|
await finishOneTest();
|