This commit is contained in:
CakeCN
2026-01-09 11:16:30 +08:00
parent c51565199c
commit 3f14cbd6c1
2 changed files with 2 additions and 1 deletions

View File

@@ -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() {