Browse Source

[完善] 完善交卷页面

master
陈鹏飞 4 years ago
parent
commit
a7c4aaff85
  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