|
@@ -81,13 +81,13 @@ export default {
|
|
"/api/ecs_exam_work/exam/ipLimit/" + course.examId
|
|
"/api/ecs_exam_work/exam/ipLimit/" + course.examId
|
|
)).data;
|
|
)).data;
|
|
// await new Promise(resolve => setTimeout(() => resolve(), 3000));
|
|
// await new Promise(resolve => setTimeout(() => resolve(), 3000));
|
|
- if (ipLimit.limited) {
|
|
|
|
|
|
+ if (ipLimit === undefined) {
|
|
this.spinShow = false;
|
|
this.spinShow = false;
|
|
- this.$Message.error("IP受限,请到中心指定地点进行考试!");
|
|
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- if (ipLimit === undefined) {
|
|
|
|
|
|
+ if (ipLimit.limited) {
|
|
this.spinShow = false;
|
|
this.spinShow = false;
|
|
|
|
+ this.$Message.error("IP受限,请到中心指定地点进行考试!");
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|