Explorar o código

Merge branch 'ol_12_30' into online

mo %!s(int64=4) %!d(string=hai) anos
pai
achega
90b516c646
Modificáronse 1 ficheiros con 7 adicións e 7 borrados
  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