From b14a961c1ae8c8240e91513b843c10a01a70c332 Mon Sep 17 00:00:00 2001 From: caozehui <2427765068@qq.com> Date: Wed, 26 Feb 2025 11:13:28 +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/testPopup.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/views/home/components/testPopup.vue b/frontend/src/views/home/components/testPopup.vue index 217cff7..b64443e 100644 --- a/frontend/src/views/home/components/testPopup.vue +++ b/frontend/src/views/home/components/testPopup.vue @@ -149,7 +149,6 @@ const initOperate = () => { const open = (title: string) => { initOperate() - dialogTitle.value = title; dialogVisible.value = true; @@ -290,7 +289,7 @@ watch(ActiveStatue, function (newValue, oldValue) { // nextStepText.value = '结束测试' nextStepText.value = '暂停超时' } - if (newValue === 'success' && nextStepText.value === '下一步') { + if (newValue === 'success' && stepsActiveIndex.value < stepsTotalNum.value - 1) { nextStep() // 实现自动点击,进入下一个测试内容 handleSubmit() }