WXL
2024-11-01 2a39af937f29471dab27b152dfae2b1fc28b32d6
src/views/repositoryai/templateku/configurat/measurement.vue
@@ -184,11 +184,9 @@
      //     isEat: 1,
      //   });
      // }
      timerId = setTimeout(() => {
        if (!this.answer) {
          this.sendFn(); // 后调用
        }
      }, this.timeout * 1000);
      // clearTimeout(timerId)
      // 优先加入通用库匹配文本
      if (dataJson.nowQuestion.submoduleText) {
        this.Answerline.push({
@@ -217,6 +215,13 @@
        });
        return item;
      });
      if (!dataJson.jsy) {
        timerId = setTimeout(() => {
          if (!this.answer) {
            this.sendFn(); // 后调用
          }
        }, this.timeout * 1000);
      }
      console.log(this.questionList);
      // IMUI.appendMessage(data);
@@ -239,7 +244,7 @@
      console.log(obj, "入参");
      // 发起ws请求
      sendWebsocket(
        "ws://192.168.2.13:8095/chat?userId="+this.userids,
        "ws://192.168.2.13:8095/chat?userId="+this.userid,
        obj,
        this.wsMessage,
        this.wsError