微调
This commit is contained in:
@@ -139,6 +139,20 @@ onMounted(async () => {
|
||||
|
||||
watch(webMsgSend, function (newValue, oldValue) {
|
||||
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':
|
||||
switch (newValue.operateCode) {
|
||||
case "Source":
|
||||
|
||||
Reference in New Issue
Block a user