diff --git a/src/app/student/examination-details/examination-details.component.ts b/src/app/student/examination-details/examination-details.component.ts index 02ddc1d..26510a1 100644 --- a/src/app/student/examination-details/examination-details.component.ts +++ b/src/app/student/examination-details/examination-details.component.ts @@ -161,7 +161,7 @@ export class ExaminationDetailsComponent implements OnInit { body.examinationDataInfo = uploadPaper this.http.put(`/api/Examinations/UpdateExaminationData/${this.route.snapshot.queryParams.examId}`,body).subscribe(data=>{ this.surplusTime = -1 - window.setTimeout(()=>{ window.close() },8000) //8秒后关闭页面 + window.setTimeout(()=>{ window.close() },5000) //5秒后关闭页面 const config = new MatSnackBarConfig(); config.verticalPosition = 'top'; config.duration = 3000