diff --git a/frontend/src/views/home/components/test.vue b/frontend/src/views/home/components/test.vue index 75194da..26f72a9 100644 --- a/frontend/src/views/home/components/test.vue +++ b/frontend/src/views/home/components/test.vue @@ -334,6 +334,9 @@ watch(testStatus, function (newValue, oldValue) { timeDifference.value = 0; testLogList.push({type: 'info', log: `${new Date().toLocaleString()}:初始化开始!`}) } + if (newValue == 'test_init_fail' || newValue == 'connect_timeout' || newValue == 'error' || newValue == 'pause_timeout' || newValue == 'recheck') { + stopTimeCount() + } }) // 次数