|
@@ -484,7 +484,8 @@ export default {
|
|
|
this.isTalk = true;
|
|
|
iiframe.contentWindow.onRecognizedResult = e => {
|
|
|
let _msg = e.privText;
|
|
|
- if (!_msg) this.text += _msg;
|
|
|
+ console.log(_msg)
|
|
|
+ if (_msg) this.text += _msg;
|
|
|
};
|
|
|
},
|
|
|
stopTalk() {
|
|
@@ -1312,7 +1313,6 @@ Instruction: Based on the context, follow "Format example", write content.
|
|
|
}
|
|
|
);
|
|
|
} else {
|
|
|
- this.aiIsTalk = false;
|
|
|
try {
|
|
|
_talkTextIiframe2.contentWindow.closesynthesizer();
|
|
|
} catch (error) {
|