|  | @@ -450,16 +450,16 @@ export default {
 | 
	
		
			
				|  |  |              this.$message.warning('最多选择10个专业')
 | 
	
		
			
				|  |  |              throw Error('最多选择10个专业')
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  | -          if (this.checkedList.findIndex(code => code == item.code) == -1) {
 | 
	
		
			
				|  |  | -            this.checkedList.push(item.code)
 | 
	
		
			
				|  |  | +          if (this.checkedList.findIndex(name => name == item.name) == -1) {
 | 
	
		
			
				|  |  | +            this.checkedList.push(item.name)
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  |          })
 | 
	
		
			
				|  |  |        } else {
 | 
	
		
			
				|  |  |          // 移除
 | 
	
		
			
				|  |  |          this.childrenMajors.forEach(item => {
 | 
	
		
			
				|  |  |            for (let i = 0; i < checkedList.length; i++) {
 | 
	
		
			
				|  |  | -            if (item.code == checkedList[i]) {
 | 
	
		
			
				|  |  | -              this.checkedList.remove(item.code)
 | 
	
		
			
				|  |  | +            if (item.name == checkedList[i]) {
 | 
	
		
			
				|  |  | +              this.checkedList.remove(item.name)
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  |          })
 |