邵佳豪 4 years ago
parent
commit
1d38c83553
  1. 2
      src/app/student/examination-details/examination-details.component.ts

2
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

Loading…
Cancel
Save