This commit is contained in:
sjl
2025-03-07 14:44:12 +08:00
parent d3a74e830f
commit 0712698638
2 changed files with 15 additions and 1 deletions

View File

@@ -376,7 +376,7 @@ const startLoading = async () => {
// 启动加载逻辑
controlContent.value.userPageId = 'cdf'
controlContent.value.scriptId = '9ff96807cf8c7524587982ed8baa8b57'
controlContent.value.scriptIndex = props.formControl.scriptIndex
controlContent.value.scriptIndex = childActiveIndex.value
controlContent.value.sourceId = props.formControl.sourceId
await startSimulateTest(controlContent.value)
}

View File

@@ -139,6 +139,20 @@ onMounted(async () => {
watch(webMsgSend, function (newValue, oldValue) {
switch (newValue.requestId) {
case 'yjc_ytxjy':
switch (newValue.operateCode) {
case 'INIT_GATHER':
if (newValue.code == 10200) {
ElMessage.success('源初始化成功')
} else {
ElMessage.error('源服务端连接失败')
console.log('错误信息:',webMsgSend)
}
break;
}
break;
case 'connect':
switch (newValue.operateCode) {
case "Source":