微调
This commit is contained in:
@@ -335,19 +335,17 @@ const checkResultView: ComputedRef<CheckData.ScriptChnViewItem[]> = 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') {
|
||||
|
||||
Reference in New Issue
Block a user