浏览代码

底照的检测优化

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) {