|
@@ -113,10 +113,12 @@ export default {
|
|
|
console.log("已唤醒");
|
|
|
return;
|
|
|
} else if (this.show == true) {
|
|
|
- if (this.showTextIndex == 2 || this.chatLoading || this.talkLoading) {
|
|
|
- return console.log("组织语言中");
|
|
|
- }else if(_msg.indexOf('可可同学')!=-1 && _msg.indexOf("停止")!=-1){
|
|
|
+ if(_msg.indexOf('可可同学')!=-1 && _msg.indexOf("停止")!=-1){
|
|
|
this.stopTalk();
|
|
|
+ }else if (this.showTextIndex == 2 || this.chatLoading || this.talkLoading) {
|
|
|
+ return console.log("组织语言中");
|
|
|
+ // }else if(_msg.indexOf('可可同学')!=-1 && _msg.indexOf("停止")!=-1){
|
|
|
+ // this.stopTalk();
|
|
|
} else {
|
|
|
this.showTextIndex = 1;
|
|
|
this.aiText = "";
|