소스 검색

Merge branch 'master' into develop

CrazyIter_Bin 2 년 전
부모
커밋
c20d8efc9e
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      TEAMModelOS/ClientApp/src/view/mycourse/MyCourse.vue
  2. 1 1
      TEAMModelOS/ClientApp/src/view/mycourse/exam/CreatePrivExam.vue

+ 1 - 1
TEAMModelOS/ClientApp/src/view/mycourse/MyCourse.vue

@@ -1023,7 +1023,7 @@ export default {
                                             })
                                             item.listName = listInfo ? listInfo.name : this.$t('cusMgt.hasDelClass')
                                             item.listSchool = listInfo ? listInfo.school : undefined
-                                            item.joinLock = listInfo.joinLock
+                                            item.joinLock = listInfo?.joinLock
                                         }
                                         //统一数据格式
                                         item.classId = item.classId || undefined

+ 1 - 1
TEAMModelOS/ClientApp/src/view/mycourse/exam/CreatePrivExam.vue

@@ -657,7 +657,7 @@ export default {
             if (groupRes.length > 1) {
                 this.targets = [[classInfo.type, classInfo.id]]
             } else {
-                this.targets = [defaultClass]
+                this.targets = [[defaultClass]]
             }
             this.evaluationInfo.targets = this.targets
             this.evaluationInfo.subjects = []