From ffb82066bbf266e32e55bd0cc5a802ca260ca41e Mon Sep 17 00:00:00 2001 From: caozehui <2427765068@qq.com> Date: Tue, 25 Feb 2025 10:46:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AD=A3=E5=BC=8F=E6=A3=80=E6=B5=8B=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E8=BF=9E=E6=8E=A5=E8=B6=85=E6=97=B6=EF=BC=8C=E5=81=9C?= =?UTF-8?q?=E6=AD=A2=E6=A3=80=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/home/components/test.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frontend/src/views/home/components/test.vue b/frontend/src/views/home/components/test.vue index f53cf26..75194da 100644 --- a/frontend/src/views/home/components/test.vue +++ b/frontend/src/views/home/components/test.vue @@ -856,6 +856,7 @@ const updateLog = (isStart: boolean) => { type: 'warning', log: currentTime.value + ` :${scriptData[activeIndex - 1].scriptName}准确度检测结束:连接超时,用时` + getTimeDifference(timeDifferenceItem), }) + // emit('update:testStatus', 'connect_timeout') break case CheckData.ChnCheckResultEnum.ERRORDATA: testLogList.push({ @@ -910,6 +911,11 @@ const setErrorCheckItem = (scriptType: string, devices: CheckData.DeviceCheckRes type: 'warning', log: `${new Date().toLocaleString()} :${devices[i].deviceName}连接超时`, }) + ElMessageBox.alert('连接超时!', '连接超时', { + confirmButtonText: '确定', + type: 'error', + }) + emit('update:testStatus', 'connect_timeout') } } }