This commit is contained in:
caozehui
2025-02-25 11:00:04 +08:00
parent f46b8c0a56
commit 89303b44ae
4 changed files with 8 additions and 2 deletions

View File

@@ -61,6 +61,7 @@ const handleStart = () => {
if (count === 0) {
ElMessage.warning('请选择测试内容!')
} else {
checkStore.setCheckType(0)
checkStore.setSelectTestItems({...formContent})
handleClose()
emit('openTestDialog')

View File

@@ -1006,6 +1006,8 @@ const handleTest = async (val: string) => {
channelsTest.value?.open(channelsSelection.value, props.plan)
return
} else {
// 一键检测
checkStore.setCheckType(1)
checkStore.initSelectTestItems()
openTestDialog()
}

View File

@@ -1,6 +1,5 @@
<template>
<el-dialog :title="dialogTitle" :model-value="dialogVisible" :before-close="beforeClose" @close="handleClose" width="1200px" height="1000px"
draggable>
<el-dialog :title="dialogTitle" :model-value="dialogVisible" :before-close="beforeClose" @close="handleClose" width="1200px" height="1000px" draggable>
<div class="steps-container">
<el-steps class="test-head-steps" simple :active="stepsActiveIndex-1" process-status="finish" finish-status="success">