Explorar o código

底照的检测优化

Michael Wang %!s(int64=6) %!d(string=hai) anos
pai
achega
544a0f7be2
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/features/OnlineExam/OnlineExamList.vue

+ 2 - 1
src/features/OnlineExam/OnlineExamList.vue

@@ -222,7 +222,8 @@ export default {
           let checkBasePhoto;
           try {
             checkBasePhoto = (await this.$http.get(
-              "/api/ecs_oe_student/examFaceLivenessVerify/checkFaceLiveness"
+              "/api/ecs_oe_student/examFaceLivenessVerify/checkFaceLiveness" +
+                `?${this.user.id}` // 考生采用相同的机器考试,使用不同的请求的缓存
             )).data;
             this.spinShow = false;
             if (!checkBasePhoto.success) {