diff --git a/frontend/src/views/home/components/test.vue b/frontend/src/views/home/components/test.vue index af485c5..cf52bea 100644 --- a/frontend/src/views/home/components/test.vue +++ b/frontend/src/views/home/components/test.vue @@ -335,19 +335,17 @@ const checkResultView: ComputedRef = computed(() watch(testStatus, function (newValue, oldValue) { if (newValue == 'start') { - ElMessage.success('初始化开始!') + if(!checkStore.selectTestItems.preTest && !checkStore.selectTestItems.channelsTest){ + ElMessage.success('初始化开始!') + emit('update:testStatus', 'test_init') + testLogList.push({type: 'info', log: `${new Date().toLocaleString()}:初始化开始!`}) + } startTimeCount() showTestLog() - - // if (oldValue == 'recheck' || oldValue == 'error' || oldValue == 'test_init_fail' || oldValue == 'connect_timeout' || oldValue == 'pause_timeout' || oldValue == 'error_flow_end') { - // handleReCheck() - // } - emit('update:testStatus', 'test_init') //startTimer() // todo 可移除 startData.value = new Date(); timeDifference.value = 0; - testLogList.push({type: 'info', log: `${new Date().toLocaleString()}:初始化开始!`}) } if (newValue == 'recheck' || newValue == 'error' || newValue == 'test_init_fail' || newValue == 'connect_timeout' || newValue == 'pause_timeout' || oldValue == 'error_flow_end') { diff --git a/frontend/src/views/home/components/testPopup.vue b/frontend/src/views/home/components/testPopup.vue index 96ac32b..8299877 100644 --- a/frontend/src/views/home/components/testPopup.vue +++ b/frontend/src/views/home/components/testPopup.vue @@ -407,7 +407,8 @@ watch(ActiveStatue, function (newValue, oldValue) { } if (newValue === 'success' && stepsActiveIndex.value < stepsTotalNum.value - 1) { nextStep() // 实现自动点击,进入下一个测试内容 - handleSubmit() + //handleSubmit() + handleSubmitFast() } })