From 85d8a57bf7ca1900bf237c64abad3973e3fb894e Mon Sep 17 00:00:00 2001 From: sjl <1716605279@qq.com> Date: Mon, 13 Jan 2025 08:56:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/home/components/channelsTest.vue | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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; - } + + } })