fix many bug
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user