微调
This commit is contained in:
@@ -376,7 +376,7 @@ const startLoading = async () => {
|
|||||||
// 启动加载逻辑
|
// 启动加载逻辑
|
||||||
controlContent.value.userPageId = 'cdf'
|
controlContent.value.userPageId = 'cdf'
|
||||||
controlContent.value.scriptId = '9ff96807cf8c7524587982ed8baa8b57'
|
controlContent.value.scriptId = '9ff96807cf8c7524587982ed8baa8b57'
|
||||||
controlContent.value.scriptIndex = props.formControl.scriptIndex
|
controlContent.value.scriptIndex = childActiveIndex.value
|
||||||
controlContent.value.sourceId = props.formControl.sourceId
|
controlContent.value.sourceId = props.formControl.sourceId
|
||||||
await startSimulateTest(controlContent.value)
|
await startSimulateTest(controlContent.value)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -139,6 +139,20 @@ onMounted(async () => {
|
|||||||
|
|
||||||
watch(webMsgSend, function (newValue, oldValue) {
|
watch(webMsgSend, function (newValue, oldValue) {
|
||||||
switch (newValue.requestId) {
|
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':
|
case 'connect':
|
||||||
switch (newValue.operateCode) {
|
switch (newValue.operateCode) {
|
||||||
case "Source":
|
case "Source":
|
||||||
|
|||||||
Reference in New Issue
Block a user