fix : 修复隧道编辑bug,注释log

This commit is contained in:
2024-09-18 19:52:38 +08:00
parent 2dc7844688
commit 6dcbd23ef4
9 changed files with 36 additions and 14 deletions

View File

@@ -588,7 +588,7 @@ const getTunnel = (id) => {
}
});
} else {
console.info("🚀 ~method: tunnelList.value -----", tunnelList.value)
// console.info("🚀 ~method: tunnelList.value -----", tunnelList.value)
// tunnelList.value = res.data;
getScreenInfo(res.data[0]?.value);
}
@@ -699,11 +699,11 @@ const initWebSocket = () => {
};
//连接成功建立的回调方法
socket.onopen = function () {
console.log("ws连接成功");
// console.log("ws连接成功");
};
//接收到消息的回调方法
socket.onmessage = function (event) {
console.log("服务器返回的信息: ", JSON.parse(event.data));
// console.log("服务器返回的信息: ", JSON.parse(event.data));
const type = JSON.parse(event.data).type;
const data = JSON.parse(event.data).data;
if (type === "equipment") {