zhangjie 3 년 전
부모
커밋
acf88e7ef1
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      src/modules/college/course/InspectCourseExamOverview.vue

+ 3 - 2
src/modules/college/course/InspectCourseExamOverview.vue

@@ -267,11 +267,12 @@ export default {
     },
     initData(datas) {
       this.summary = datas.examBaseInfo;
+      this.commonCourseOption = null;
+      this.courseOtherOption = null;
+      if (!datas.collegeInfo) return;
       this.lowAvgCourseList = datas.collegeInfo.lowAvgInfo.lowAvgCourseList.map(
         item => item.courseName
       );
-      this.commonCourseOption = null;
-      this.courseOtherOption = null;
       if (!datas.collegeInfo.collegeCourseInfoList.length) return;
       const positions = datas.collegeInfo.collegeCourseInfoList.map(
         item => item.colRelativePosition