From 2a39af937f29471dab27b152dfae2b1fc28b32d6 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期五, 01 十一月 2024 18:45:29 +0800 Subject: [PATCH] 测试完成 --- src/views/repositoryai/templateku/configurat/measurement.vue | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/views/repositoryai/templateku/configurat/measurement.vue b/src/views/repositoryai/templateku/configurat/measurement.vue index 7af839f..f71ca7f 100644 --- a/src/views/repositoryai/templateku/configurat/measurement.vue +++ b/src/views/repositoryai/templateku/configurat/measurement.vue @@ -184,14 +184,8 @@ // isEat: 1, // }); // } - timerId = setTimeout(() => { - if (!this.answer) { - this.sendFn(); // 鍚庤皟鐢� - } - }, this.timeout * 1000); - if (condition) { - } + // clearTimeout(timerId) // 浼樺厛鍔犲叆閫氱敤搴撳尮閰嶆枃鏈� if (dataJson.nowQuestion.submoduleText) { @@ -221,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); -- Gitblit v1.9.3