|
@@ -60,6 +60,18 @@ const { userSubmitPaper, realSubmitPaper } = useRealSubmitPaper(
|
|
|
);
|
|
|
|
|
|
async function userClickSubmit() {
|
|
|
+ try {
|
|
|
+ let res: any = await httpApp.post(
|
|
|
+ "/api/ecs_oe_student/examControl/check/time"
|
|
|
+ );
|
|
|
+ console.log("/api/ecs_oe_student/examControl/check/time", res);
|
|
|
+ } catch (error) {
|
|
|
+ // $message.error("校验交卷时间失败", {
|
|
|
+ // duration: 15,
|
|
|
+ // closable: true,
|
|
|
+ // });
|
|
|
+ return;
|
|
|
+ }
|
|
|
store.increaseGlobalMaskCount("userClickSubmit");
|
|
|
void userSubmitPaper(usedExamTimes);
|
|
|
// 一定要在这里等待,不然用户快速双击就会点两次
|