hare8999@163.com hace 3 años
padre
commit
184948fa73
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/elective/generation/detail.vue

+ 1 - 1
src/views/elective/generation/detail.vue

@@ -278,7 +278,7 @@ export default {
         generation: this.activeOpt.value,
         studentId: row.studentId
       }
-      const majors = this.majorsMap[query.studentId]?.majors || []
+      const majors = this.majorsMap[query.studentId]?.marjors || []
       getStudentElectiveModels(query).then(res => {
         this.studentMajors = majors
         const generationModels = res.data?.filter(g => g.generation <= query.generation) || []