This commit is contained in:
caozehui
2025-06-24 09:22:36 +08:00
parent efcd6e1cfe
commit 5363625a2f
2 changed files with 7 additions and 8 deletions

View File

@@ -335,19 +335,17 @@ const checkResultView: ComputedRef<CheckData.ScriptChnViewItem[]> = computed(()
watch(testStatus, function (newValue, oldValue) {
if (newValue == 'start') {
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') {

View File

@@ -407,7 +407,8 @@ watch(ActiveStatue, function (newValue, oldValue) {
}
if (newValue === 'success' && stepsActiveIndex.value < stepsTotalNum.value - 1) {
nextStep() // 实现自动点击,进入下一个测试内容
handleSubmit()
//handleSubmit()
handleSubmitFast()
}
})