Explorar o código

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

Michael Wang %!s(int64=6) %!d(string=hai) anos
pai
achega
bb42653b89
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {