From 510b43356f18aa5be351a0990c7cdc1d4478b5e7 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期三, 09 七月 2025 14:27:00 +0800
Subject: [PATCH] 测试完成
---
src/views/repositoryai/templateku/configurat/measurement.vue | 23 +++++++++++++----------
1 files changed, 13 insertions(+), 10 deletions(-)
diff --git a/src/views/repositoryai/templateku/configurat/measurement.vue b/src/views/repositoryai/templateku/configurat/measurement.vue
index 7af839f..d9fc2a2 100644
--- a/src/views/repositoryai/templateku/configurat/measurement.vue
+++ b/src/views/repositoryai/templateku/configurat/measurement.vue
@@ -164,7 +164,7 @@
};
// 鍙戣捣ws璇锋眰
sendWebsocket(
- "ws://192.168.2.13:8095/chat?userId="+this.userid,
+ "ws://9.208.2.190:8095/chat?userId="+this.userid,
obj,
this.wsMessage,
this.wsError
@@ -184,15 +184,9 @@
// isEat: 1,
// });
// }
- timerId = setTimeout(() => {
- if (!this.answer) {
- this.sendFn(); // 鍚庤皟鐢�
- }
- }, this.timeout * 1000);
- if (condition) {
- }
- // clearTimeout(timerId)
+
+
// 浼樺厛鍔犲叆閫氱敤搴撳尮閰嶆枃鏈�
if (dataJson.nowQuestion.submoduleText) {
this.Answerline.push({
@@ -221,6 +215,15 @@
});
return item;
});
+ if (!dataJson.jsy) {
+ timerId = setTimeout(() => {
+ if (!this.answer) {
+ this.sendFn(); // 鍚庤皟鐢�
+ }
+ }, this.timeout * 1000);
+ }else{
+ clearTimeout(timerId)
+ }
console.log(this.questionList);
// IMUI.appendMessage(data);
@@ -243,7 +246,7 @@
console.log(obj, "鍏ュ弬");
// 鍙戣捣ws璇锋眰
sendWebsocket(
- "ws://192.168.2.13:8095/chat?userId="+this.userid,
+ "ws://9.208.2.190:8095/chat?userId="+this.userid,
obj,
this.wsMessage,
this.wsError
--
Gitblit v1.9.3