소스 검색

考生退出登录后,采用新的token来确保刷新底照检验

Michael Wang 6 년 전
부모
커밋
bb42653b89
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/features/OnlineExam/OnlineExamList.vue

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

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