소스 검색

Merge branch 'ol_12_30' into online

mo 4 년 전
부모
커밋
90b516c646
1개의 변경된 파일7개의 추가작업 그리고 7개의 파일을 삭제
  1. 7 7
      src/views/teamDetail/componentCourse/addCompound.vue

+ 7 - 7
src/views/teamDetail/componentCourse/addCompound.vue

@@ -114,17 +114,17 @@ export default {
         this.$message.error('请选择一节主课')
         return
       }
-      let arr = []
+      // let arr = []
       let idList = []
       this.dataList.forEach(com => {
-        arr.push(com.type)
+        // arr.push(com.type)
             idList.push(com.id)
       })
-      arr = [... new Set(arr)]
-      if (arr.length != 1) {
-        this.$message.error('请选择相同的课程类型')
-        return
-      }
+      // arr = [... new Set(arr)]
+      // if (arr.length != 1) {
+      //   this.$message.error('请选择相同的课程类型')
+      //   return
+      // }
       if (this.dataList.length <= 1) {
         this.$message.error('请至少选择2节课程')
         return