|
@@ -276,6 +276,11 @@ export default {
|
|
|
setTimeout(() => this.realSubmitPaperStep2(), 300);
|
|
|
return;
|
|
|
}
|
|
|
+ if (this.submitLock) {
|
|
|
+ return;
|
|
|
+ } else {
|
|
|
+ this.submitLock = true;
|
|
|
+ }
|
|
|
try {
|
|
|
const res = await this.$http.get(
|
|
|
"/api/ecs_oe_student/examControl/endExam"
|
|
@@ -294,9 +299,11 @@ export default {
|
|
|
} else {
|
|
|
this.$Message.error("交卷失败");
|
|
|
}
|
|
|
+ this.submitLock = false;
|
|
|
} catch (e) {
|
|
|
console.log(e);
|
|
|
}
|
|
|
+ this.submitLock = false;
|
|
|
this.$Spin.hide();
|
|
|
},
|
|
|
examQuestion() {
|