From 6137ac18b7653665c5ff3afb789a485725257854 Mon Sep 17 00:00:00 2001 From: GYYM <704080176@qq.com> Date: Fri, 22 Nov 2024 10:46:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/home/components/channelsTest.vue | 11 ++++++----- .../views/home/components/dataCheckPopup.vue | 8 ++++---- .../src/views/home/components/reportPopup.vue | 17 ++++++++++------- frontend/src/views/home/components/table.vue | 4 ++-- frontend/src/views/home/components/test.vue | 7 +++++-- .../src/views/home/components/testPopup.vue | 12 +++++++++++- frontend/src/views/home/tabs/dashboard.vue | 6 ++++-- .../plan/planList/components/planPopup.vue | 6 +++++- 8 files changed, 47 insertions(+), 24 deletions(-) diff --git a/frontend/src/views/home/components/channelsTest.vue b/frontend/src/views/home/components/channelsTest.vue index 93659ad..b6da0d1 100644 --- a/frontend/src/views/home/components/channelsTest.vue +++ b/frontend/src/views/home/components/channelsTest.vue @@ -14,6 +14,7 @@
+ @@ -87,12 +88,12 @@ if(ts.value==='start') ts.value = 'process' let timer = setInterval(() => { - if(activeIndex.value < activeTotalNum.value - 2) + if(activeIndex.value < activeTotalNum.value) activeIndex.value++ - else if(activeIndex.value === activeTotalNum.value -2) + else if(activeIndex.value === activeTotalNum.value) { - activeIndex.value++ - activeIndex.value++ + clearInterval(timer) + ts.value = 'success' } else { @@ -176,6 +177,6 @@ emit('update:testStatus',ts.value) margin-bottom: 10px; } .right-content{ - min-height: 400px; + max-height: 400px; } diff --git a/frontend/src/views/home/components/dataCheckPopup.vue b/frontend/src/views/home/components/dataCheckPopup.vue index eb5bbad..a5b82d2 100644 --- a/frontend/src/views/home/components/dataCheckPopup.vue +++ b/frontend/src/views/home/components/dataCheckPopup.vue @@ -1,5 +1,5 @@