From 8b2cda80b13b9c23717b0a4aadaa9dd186e69536 Mon Sep 17 00:00:00 2001 From: caozehui <2427765068@qq.com> Date: Tue, 25 Feb 2025 16:37:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/home/components/test.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/views/home/components/test.vue b/frontend/src/views/home/components/test.vue index 75194da..26f72a9 100644 --- a/frontend/src/views/home/components/test.vue +++ b/frontend/src/views/home/components/test.vue @@ -334,6 +334,9 @@ watch(testStatus, function (newValue, oldValue) { timeDifference.value = 0; testLogList.push({type: 'info', log: `${new Date().toLocaleString()}:初始化开始!`}) } + if (newValue == 'test_init_fail' || newValue == 'connect_timeout' || newValue == 'error' || newValue == 'pause_timeout' || newValue == 'recheck') { + stopTimeCount() + } }) // 次数