源未知异常处理

This commit is contained in:
caozehui
2025-11-06 08:42:04 +08:00
parent a5177860de
commit 29efbae717
3 changed files with 32 additions and 8 deletions

View File

@@ -262,6 +262,12 @@ watch(webMsgSend, function (newValue, oldValue) {
type: 'error',
})
TableInit();
} else if (newValue.code == -1) { //todo 10552之后还会发送消息吗
ElMessageBox.alert('源未知异常', '检测失败', {
confirmButtonText: '确定',
type: 'error',
})
TableInit();
} else {
console.log('显示东西code', newValue.code)
console.log('显示东西requestId', newValue.requestId)