some log
This commit is contained in:
@@ -81,6 +81,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
// 初始化聊天消息管理器
|
||||
chatManager = new ChatMessageManager();
|
||||
socket.on('connect', function () {
|
||||
console.log('Connected to WebSocket server'+socket.id+"with user"+JSON.stringify(user_data));
|
||||
socket.emit('login',JSON.stringify(user_data));
|
||||
});
|
||||
socket.on('open-iframe', function() {
|
||||
|
||||
Reference in New Issue
Block a user