Browse Source

底照的检测优化

Michael Wang 6 years ago
parent
commit
544a0f7be2
1 changed files with 2 additions and 1 deletions
  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) {