| 
				
				
					
				
				
				 | 
			
			 | 
			@@ -343,7 +343,7 @@ | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			                  {{ item.name }} | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			                  <span | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			                    style="float: right; cursor: pointer" | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			                    @click="ListenVoices(item.url)" | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			                    @click.stop="ListenVoices(item.url)" | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			                    >🔊</span | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			                  > | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			                </div> | 
		
		
	
	
		
			
				| 
				
					
				
				
					
				
				
				 | 
			
			 | 
			@@ -1440,7 +1440,9 @@ async function saveOrUpdate(index, isSaveVideo) { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      createLoading.value = false; | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      return; | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    } | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    if (!audioData.value) { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    if (!audioData.value && !afterSaveAudioId.value) { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      console.log(audioData.value); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      console.log(afterSaveAudioId.value); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      ElMessage.error( | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        lanChange.value == "zh-cn" | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          ? `请选择音频文件` | 
		
		
	
	
		
			
				| 
				
				
				
					
				
				 | 
			
			 | 
			@@ -1452,7 +1454,12 @@ async function saveOrUpdate(index, isSaveVideo) { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    try { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      const res1 = await uploadAudio(isSaveVideo); // 上传音频 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    } catch (error) { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      ElMessage.error(error); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      // ElMessage.error(error); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      ElMessage.error( | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        lanChange.value == "zh-cn" | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          ? `生成失败,请重新选择音频` | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			          : `Generation failed, please re-select the audio` | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      ); | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      createLoading.value = false; | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    } | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  } | 
		
		
	
	
		
			
				| 
				
					
				
				
					
				
				
				 | 
			
			 | 
			@@ -1543,6 +1550,7 @@ async function findById(findId) { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  afterSaveAudioId.value = res.data.voiceMaterialId; //保存音频后得到的id | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  imgUrl.value = res.data.personPhotoUrl; //图片回显 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  audioUrl.value = res.data.voiceMaterialUrl; // mp3回显 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  musicItemAction.value = res.data.musicId; //音乐id回显 | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  language.value = res.data.voiceInfo ? res.data.voiceInfo.languageId : null; | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
  | 
		
		
	
	
		
			
				| 
				
					
				
				
				
				 | 
			
			 | 
			
  |