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() }