From ded15e5c8b54821e7ed36f4b5f60d9468cba7b54 Mon Sep 17 00:00:00 2001 From: caozehui <2427765068@qq.com> Date: Sat, 8 Mar 2025 10:50:39 +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 --- frontend/src/views/machine/controlSource/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/views/machine/controlSource/index.vue b/frontend/src/views/machine/controlSource/index.vue index f0a854d..2ac5200 100644 --- a/frontend/src/views/machine/controlSource/index.vue +++ b/frontend/src/views/machine/controlSource/index.vue @@ -159,9 +159,9 @@ watch(webMsgSend, function (newValue, oldValue) { switch (newValue.operateCode) { case 'INIT_GATHER': if (newValue.code == 10200) { - ElMessage.success('源初始化成功') + ElMessage.success('源连接成功') } else if(newValue.code !== 10201) { - ElMessage.error('源服务端连接失败') + ElMessage.error('源连接失败') console.log('错误信息:',webMsgSend) } break; @@ -170,7 +170,7 @@ watch(webMsgSend, function (newValue, oldValue) { case 'connect': switch (newValue.operateCode) { case "Source": - ElMessage.error('源服务端连接失败') + ElMessage.error('源连接失败') } break; }