fix : 修复隧道编辑bug,注释log
This commit is contained in:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user