|  | @ -389,7 +389,7 @@ export default { | 
		
	
		
			
				|  |  |       ], |  |  |       ], | 
		
	
		
			
				|  |  |       activeIndex: 0, |  |  |       activeIndex: 0, | 
		
	
		
			
				|  |  |       activeItemIndex: 0, |  |  |       activeItemIndex: 0, | 
		
	
		
			
				|  |  |       release_id: null, |  |  |  | 
		
	
		
			
				|  |  |  |  |  |       release_id: null, // 发布编辑 | 
		
	
		
			
				|  |  |       releaseInfo: null, |  |  |       releaseInfo: null, | 
		
	
		
			
				|  |  |       isEditMaterial: [] |  |  |       isEditMaterial: [] | 
		
	
		
			
				|  |  |     } |  |  |     } | 
		
	
	
		
			
				|  | @ -540,9 +540,10 @@ export default { | 
		
	
		
			
				|  |  |               json.material_name = item.material_name |  |  |               json.material_name = item.material_name | 
		
	
		
			
				|  |  |               json.img_path = item.img_path |  |  |               json.img_path = item.img_path | 
		
	
		
			
				|  |  |               json.file_size = item.file_size |  |  |               json.file_size = item.file_size | 
		
	
		
			
				|  |  |  |  |  |               console.log(item) | 
		
	
		
			
				|  |  |               if (this.release_id) { |  |  |               if (this.release_id) { | 
		
	
		
			
				|  |  |                 if (this.isEditMaterial.length != 0) { |  |  |                 if (this.isEditMaterial.length != 0) { | 
		
	
		
			
				|  |  |                   if (!item.create_time) { |  |  |  | 
		
	
		
			
				|  |  |  |  |  |                   if (!item.create_time || (!item.classes && item.material_type == 2)) { | 
		
	
		
			
				|  |  |                     json.rm_id = null |  |  |                     json.rm_id = null | 
		
	
		
			
				|  |  |                   } else { |  |  |                   } else { | 
		
	
		
			
				|  |  |                     json.rm_id = this.isEditMaterial[index].id |  |  |                     json.rm_id = this.isEditMaterial[index].id | 
		
	
	
		
			
				|  | @ -554,6 +555,7 @@ export default { | 
		
	
		
			
				|  |  |               json.ranking = index + 1 |  |  |               json.ranking = index + 1 | 
		
	
		
			
				|  |  |               return json |  |  |               return json | 
		
	
		
			
				|  |  |             }) |  |  |             }) | 
		
	
		
			
				|  |  |  |  |  |             console.log(this.form.release_materialDTOs) | 
		
	
		
			
				|  |  |             // 判断最外层是否有bgm |  |  |             // 判断最外层是否有bgm | 
		
	
		
			
				|  |  |             const isBgm = this.selectedMaterial.find(item => { |  |  |             const isBgm = this.selectedMaterial.find(item => { | 
		
	
		
			
				|  |  |               return item.material_type == 2 |  |  |               return item.material_type == 2 | 
		
	
	
		
			
				|  | @ -654,7 +656,7 @@ export default { | 
		
	
		
			
				|  |  |       this.contentIds.splice(index, 1) |  |  |       this.contentIds.splice(index, 1) | 
		
	
		
			
				|  |  |       this.selectedEditData.splice(index, 1) |  |  |       this.selectedEditData.splice(index, 1) | 
		
	
		
			
				|  |  |       this.selectedMaterial.splice(i, 1) |  |  |       this.selectedMaterial.splice(i, 1) | 
		
	
		
			
				|  |  |       localStorage.setItem('selectedMaterial', JSON.stringify(this.selectedMaterial)) |  |  |  | 
		
	
		
			
				|  |  |  |  |  |       // localStorage.setItem('selectedMaterial', JSON.stringify(this.selectedMaterial)) | 
		
	
		
			
				|  |  |     }, |  |  |     }, | 
		
	
		
			
				|  |  |     // 选中可编辑的 |  |  |     // 选中可编辑的 | 
		
	
		
			
				|  |  |     clickMaterialItem(id, item) { |  |  |     clickMaterialItem(id, item) { | 
		
	
	
		
			
				|  | @ -723,7 +725,7 @@ export default { | 
		
	
		
			
				|  |  |           } else { |  |  |           } else { | 
		
	
		
			
				|  |  |             this.selectedMaterial.splice(resultIndex, 1, this.audioListData[index]) |  |  |             this.selectedMaterial.splice(resultIndex, 1, this.audioListData[index]) | 
		
	
		
			
				|  |  |           } |  |  |           } | 
		
	
		
			
				|  |  |           localStorage.setItem('selectedMaterial', JSON.stringify(this.selectedMaterial)) |  |  |  | 
		
	
		
			
				|  |  |  |  |  |           // localStorage.setItem('selectedMaterial', JSON.stringify(this.selectedMaterial)) | 
		
	
		
			
				|  |  |         } else { |  |  |         } else { | 
		
	
		
			
				|  |  |           this.selectedEditData[this.thisEditIndex].showAudioName = this.audioListData[index].material_name |  |  |           this.selectedEditData[this.thisEditIndex].showAudioName = this.audioListData[index].material_name | 
		
	
		
			
				|  |  |           this.selectedEditData[this.thisEditIndex].showAudioUrl = this.audioListData[index].deposit_url |  |  |           this.selectedEditData[this.thisEditIndex].showAudioUrl = this.audioListData[index].deposit_url | 
		
	
	
		
			
				|  | @ -782,7 +784,7 @@ export default { | 
		
	
		
			
				|  |  |       this.selectContVisible = false |  |  |       this.selectContVisible = false | 
		
	
		
			
				|  |  |       this.selectedMaterial = [] |  |  |       this.selectedMaterial = [] | 
		
	
		
			
				|  |  |       this.selectedMaterial = this.$refs.MaterialList.selectedMaterial |  |  |       this.selectedMaterial = this.$refs.MaterialList.selectedMaterial | 
		
	
		
			
				|  |  |       localStorage.setItem('selectedMaterial', JSON.stringify(this.selectedMaterial)) |  |  |  | 
		
	
		
			
				|  |  |  |  |  |       // localStorage.setItem('selectedMaterial', JSON.stringify(this.selectedMaterial)) | 
		
	
		
			
				|  |  |       this.mulitText = '多选' |  |  |       this.mulitText = '多选' | 
		
	
		
			
				|  |  |     }, |  |  |     }, | 
		
	
		
			
				|  |  |     // 素材选择 - 取消按钮 |  |  |     // 素材选择 - 取消按钮 | 
		
	
	
		
			
				|  | 
 |