|
@@ -174,7 +174,7 @@ export default {
|
|
|
...mapMutations("invigilation", ["setSelectedExamId"]),
|
|
|
async initData() {
|
|
|
await this.getExamBatchList();
|
|
|
- // this.filter.examId = this.examBatchs[0] && this.examBatchs[0].id;
|
|
|
+ if (!this.examBatchs.length) return;
|
|
|
this.updateSelectedExamId({
|
|
|
exams: this.examBatchs,
|
|
|
selectedExamId: this.selectedExamId,
|