Authored by 李奇

不必要的log删除

... ... @@ -648,7 +648,7 @@ let chat = {
chatMessage.content = canLeave ?
chatMessage.content :
(chatMessage.content = chatMessage.content.replace(reg, ""));
(chatMessage.content = chatMessage.content.replace(reg, ''));
canLeave && (self.canLeaveMSG = true);
sysInfo(`${chatMessage.content || ''}${append}`);
... ...
... ... @@ -59,7 +59,6 @@ function sendMsg(msg) {
return;
}
if (socket.readyState === WebSocket.OPEN) {
console.log('websocket send: ', JSON.parse(msg));
socket.send(msg);
} else {
sendFailCallback();
... ...