소스 검색

底照的检测优化

Michael Wang 6 년 전
부모
커밋
544a0f7be2
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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) {