diff --git a/frontend/src/views/home/components/preTest.vue b/frontend/src/views/home/components/preTest.vue
index 0a3e8ec..2ca9879 100644
--- a/frontend/src/views/home/components/preTest.vue
+++ b/frontend/src/views/home/components/preTest.vue
@@ -51,7 +51,11 @@
- {{ item.log }}
+ {{ item.log.split('&&')[0] }}
+
+ {{ item.log.split('&&')[1] }}
+
+
@@ -441,14 +445,14 @@ watch(webMsgSend, function (newValue, oldValue) {
if (newValue.code == 10200) {
step4InitLog.value.push({
type: 'info',
- log: '源已接通!',
+ log: '源参数下发成功,等待校验中.....',
})
} else if (newValue.code == 10201) {
step4.value = 'process'
step4InitLog.value = [{
type: 'wait',
- log: '正在接通源.....',
+ log: '源参数下发中.....',
}];
} else if (newValue.code == 10552) {
ElMessage.error("存在已经初始化步骤,已经自动关闭,请重新发起检测!")
@@ -470,9 +474,11 @@ watch(webMsgSend, function (newValue, oldValue) {
if (newValue.data.includes('不合格')) {
type = 'error'
}
+
+ newValue.data.split('
')
step4InitLog.value.push({
type: type,
- log: '相序校验:' + newValue.data,
+ log:newValue.data,
})
} else if (newValue.code == 10201) {
@@ -488,7 +494,7 @@ watch(webMsgSend, function (newValue, oldValue) {
log: '相序校验未通过!',
})
ts.value = 'error'
- }else if (newValue.code == 25001) {
+ } else if (newValue.code == 25001) {
step4.value = 'success'
step5.value = 'success'
step4InitLog.value.push({