diff --git a/frontend/src/views/home/components/channelsTest.vue b/frontend/src/views/home/components/channelsTest.vue index f5ffa28..a927f17 100644 --- a/frontend/src/views/home/components/channelsTest.vue +++ b/frontend/src/views/home/components/channelsTest.vue @@ -141,6 +141,17 @@ const webMsgSend = toRef(props, 'webMsgSend'); watch(webMsgSend,function (newValue,oldValue){ switch (newValue.requestId){ + case 'yjc_ytxjy': + switch (newValue.operateCode) { + case'INIT GATHER': + if(newValue.code ==-1){ + ElMessageBox.alert('源未知异常', '初始化失败', { + confirmButtonText: '确定', + type: 'error', + }) + } + } + break; case 'yjc_sbtxjy': switch (newValue.operateCode) { case 'INIT_GATHER$01': @@ -282,7 +293,8 @@ watch(webMsgSend,function (newValue,oldValue){ break; } break; - } + + } })