SanHQin 11 months ago
parent
commit
def38386a0
1 changed files with 5 additions and 3 deletions
  1. 5 3
      src/components/classRoomHelper/component/levitatedSphere.vue

+ 5 - 3
src/components/classRoomHelper/component/levitatedSphere.vue

@@ -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 = "";