diff --git a/src/app/examiner/review-files/review-files.component.ts b/src/app/examiner/review-files/review-files.component.ts index 89f5e72..8a6c3fc 100644 --- a/src/app/examiner/review-files/review-files.component.ts +++ b/src/app/examiner/review-files/review-files.component.ts @@ -89,7 +89,7 @@ export class ReviewFilesComponent implements OnInit { const config = new MatSnackBarConfig(); config.verticalPosition = 'top'; config.duration = 5000 - this.snackBar.open('刷新成功','确定',config); + // this.snackBar.open('刷新成功','确定',config); } resolve(1) }) @@ -290,7 +290,10 @@ export class ReviewFilesComponent implements OnInit { const config = new MatSnackBarConfig(); config.verticalPosition = 'top'; config.duration = 5000 - this.snackBar.open('阅卷结果提交成功','确定',config); + this.snackBar.open('阅卷结果提交成功,页面将于一秒后关闭!','确定',config); + setTimeout(() => { + window.close() + }, 1000); }) }