zhangjie hace 3 años
padre
commit
acf88e7ef1
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  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