| 
					
				 | 
			
			
				@@ -336,6 +336,11 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.$refs.videoTextTextarea.scrollTop = this.$refs.videoTextTextarea.scrollHeight; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      iiframe.contentWindow.onRecognizedResult = result =>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.$refs.videoTextTextarea.scrollTop = this.$refs.videoTextTextarea.scrollHeight; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.videoText = this.videoText.replace(/(^|[\r\n]+).*?\[\.\.\.\][\r\n]+$/, '$1'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     async onPauseRecordWithMicrosoft() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let _resolve; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -353,6 +358,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.recordedForm.audioBlob.push(e.preaudio); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         iiframe.contentWindow.onSessionStopped = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         iiframe.contentWindow.onRecognizing = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        iiframe.contentWindow.onRecognizedResult = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         _resolve(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       return p; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -368,7 +374,6 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           case "microsoft": 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.onPauseRecordWithMicrosoft().then(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               this.recordedForm.loading = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              this.videoText = this.videoText.replace(/\[\.\.\.\][\r\n]+/, '') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           case "shengyang": 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -442,10 +447,10 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           let file = new File([blob], "recordedFile.wav", { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             type: "audio/wav" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.videoText = this.videoText.replace(/\[\.\.\.\][\r\n]+/, '') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.uploadFile(file, { changeText: false, flag: true }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           iiframe.contentWindow.onSessionStopped = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           iiframe.contentWindow.onRecognizing = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          iiframe.contentWindow.onRecognizedResult = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } else if (this.recordedForm.status == 2) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         //暂停录音时 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -566,6 +571,11 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.$refs.videoTextTextarea.scrollTop = this.$refs.videoTextTextarea.scrollHeight; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      iiframe.contentWindow.onRecognizedResult = result =>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.$refs.videoTextTextarea.scrollTop = this.$refs.videoTextTextarea.scrollHeight; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.videoText = this.videoText.replace(/(^|[\r\n]+).*?\[\.\.\.\][\r\n]+$/, '$1'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }; 
			 |