|
@@ -347,16 +347,15 @@ export default {
|
|
|
let _talkTextIiframe2 = this.$refs.iiframe2;
|
|
|
|
|
|
if(_text){
|
|
|
- _talkTextIiframe2.contentWindow.testdoContinuousPronunciationAssessment();
|
|
|
this.talkLoading = true;
|
|
|
console.log(`👉转语音:${_text}`)
|
|
|
// setTimeout(()=>{
|
|
|
// this.talkText();
|
|
|
// },2000)
|
|
|
- _talkTextIiframe2.texttospeech(_text,this.talkText);
|
|
|
+ _talkTextIiframe2.contentWindow.texttospeech(_text,this.talkText);
|
|
|
}else{
|
|
|
console.log("👉转语音结束👈")
|
|
|
- _talkTextIiframe2.closesynthesizer()
|
|
|
+ _talkTextIiframe2.contentWindow.closesynthesizer()
|
|
|
this.chatLoading = false;
|
|
|
this.talkLoading = false;
|
|
|
this.talkTextList = [];
|