diff --git a/frontend/src/views/machine/controlSource/index.vue b/frontend/src/views/machine/controlSource/index.vue index 39e1fd3..b3786f9 100644 --- a/frontend/src/views/machine/controlSource/index.vue +++ b/frontend/src/views/machine/controlSource/index.vue @@ -160,9 +160,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; @@ -171,7 +171,7 @@ watch(webMsgSend, function (newValue, oldValue) { case 'connect': switch (newValue.operateCode) { case "Source": - ElMessage.error('源服务端连接失败') + ElMessage.error('源连接失败') } break; }