11wqe1 преди 5 месеца
родител
ревизия
2e44c60930

+ 2 - 2
src/components/classRoomHelper/component/levitatedSphere.vue

@@ -51,6 +51,7 @@
       src="https://beta.cloud.cocorobo.cn/browser/public/index1.html"
       ref="iiframe2"
       v-show="false"
+      v-if="show"
     ></iframe>
 
 		<mini-audio
@@ -156,7 +157,7 @@ export default {
         console.log("👇");
         console.log(_msg);
         // _msg = converter(_msg)
-        if (!_msg) return console.log("输出为空");
+        if (!_msg || _msg == '.') return console.log("输出为空");
         // if (_msg.indexOf(converter("可可同学")) != -1 && !this.show) {
         //   this.aiText = "您好,我是小可,有什么可以帮助您的?";
         //   this.aiStatus = 0;
@@ -183,7 +184,6 @@ export default {
           } else {
             this.showTextIndex = 1;
             this.aiText = "";
-            this.userText = '';
             this.userText += _msg;
             this.aiStatus = 1;
             if (this.timer) {

+ 7 - 0
src/components/classRoomHelper/index.vue

@@ -557,6 +557,7 @@ export default {
   },
   data() {
     return {
+      isBtn:false,
       userid: this.$route.query.userid,
       oid: this.$route.query.oid,
       courseId: this.$route.query.courseId,
@@ -899,6 +900,12 @@ ${_textData}
       });
     },
     startAssistant() {
+      if(this.isBtn) return this.$message.info("点击过快,请稍等...");
+      this.isBtn = true
+      setTimeout(() => {
+          this.isBtn = false
+      }, 1000);
+      
       if (this.recordLoading) return this.$message.info("请稍等...");
       this.recordLoading = true;
       if (this.recordType == 0) {

+ 1 - 1
src/components/components/appStoreC.vue

@@ -17,7 +17,7 @@
                 scrolling = "no"
                 :src="urlData"
                 ref="appStore"
-                style="width: 100%;height: 100%;overflow: auto;"
+                style="width: 100%;height: 90%;overflow: auto;"
             ></iframe>
             
             <div style="display: flex;justify-content: flex-end;padding: 0 30px;box-sizing: border-box;">