Преглед изворни кода

新活检:同步比对有陌生人,失败

Michael Wang пре 5 година
родитељ
комит
b22930b952
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/features/OnlineExam/Examing/FaceMotion/FaceMotion.vue

+ 1 - 1
src/features/OnlineExam/Examing/FaceMotion/FaceMotion.vue

@@ -699,7 +699,7 @@ export default {
               this.finalResult.verifySteps[0].errorMsg = this.compareResult.errorMsg;
               this.pauseDetecting = false;
               this.doneCompare = true;
-              if (this.compareResult.isPass) {
+              if (this.compareResult.isPass && !this.compareResult.isStranger) {
                 console.log("人脸同步比对成功");
                 if (!this.instructionsFinished && this.currentStep)
                   this.currentStep.finished = true;