fix many bug

This commit is contained in:
Cai
2025-09-24 11:29:31 +08:00
parent 6aac420062
commit 07cf2363ab
21 changed files with 551 additions and 1684 deletions

View File

@@ -13,7 +13,9 @@ document.addEventListener('DOMContentLoaded', function() {
socket.on('connect', function() {
console.log('Connected to server');
socket.emit('login',JSON.stringify(data));
OpenIframe();
});
socket.on('open-iframe', function(data) {
OpenIframe();
});
// 监听来自服务器的消息
socket.on('message', function(data) {