|
@@ -306,6 +306,14 @@ export default {
|
|
|
if(_talkText!=''){
|
|
|
this.talkTextList.push(_talkText)
|
|
|
}
|
|
|
+ if(!this.talkLoading){
|
|
|
+ this.timer = setTimeout(() => {
|
|
|
+ this.showTextIndex = 3;
|
|
|
+ this.aiStatus = 2;
|
|
|
+ this.aiText = "";
|
|
|
+ this.userText = "";
|
|
|
+ }, 3000);
|
|
|
+ }
|
|
|
this.chatLoading = false;
|
|
|
this.source.close();
|
|
|
} else {
|
|
@@ -337,10 +345,11 @@ export default {
|
|
|
talkText(){
|
|
|
let _text = this.talkTextList.shift();
|
|
|
let _talkTextIiframe2 = this.$refs.iiframe2;
|
|
|
-
|
|
|
+
|
|
|
if(_text){
|
|
|
+ _talkTextIiframe2.contentWindow.testdoContinuousPronunciationAssessment();
|
|
|
this.talkLoading = true;
|
|
|
- // console.log(`👉转语音:${_text}`)
|
|
|
+ console.log(`👉转语音:${_text}`)
|
|
|
// setTimeout(()=>{
|
|
|
// this.talkText();
|
|
|
// },2000)
|