| 
					
				 | 
			
			
				@@ -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 
			 |