diff --git a/frontend/src/views/home/components/test.vue b/frontend/src/views/home/components/test.vue
index f4e37fe..af80870 100644
--- a/frontend/src/views/home/components/test.vue
+++ b/frontend/src/views/home/components/test.vue
@@ -9,67 +9,67 @@
检测用时:{{ timeView }}
-
-
-
-
-
- 初始化中
-
+
+
+
+
+
+
+
- 停止检测
-
-
-
-
-
- 暂停中
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- 检测完成
+
- 继续检测
-
-
+
+
+
+
+
+
+
+
+
检测项进度
@@ -1244,7 +1244,7 @@ const startTimer = () => {
}
};
const handlePause = () => {
- emit('sendPause')
+ //emit('sendPause')
testLogList.push({type: 'error', log: `${new Date().toLocaleString()}:当前测试小项正在执行中,将在该小项执行结束后暂停...`})
}
@@ -1430,6 +1430,10 @@ onBeforeUnmount(() => {
clearInterval(timer)
}
})
+
+defineExpose({
+ handlePause
+})