소스 검색

write errors

hare8999@163.com 3 년 전
부모
커밋
184948fa73
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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) || []