This commit is contained in:
2025-08-15 03:10:24 +08:00
7 changed files with 94 additions and 93 deletions

View File

@ -32,6 +32,8 @@ export const initWebSocket = (url: any) => {
console.log('websocket已经断开');
},
onMessage: (_, e) => {
console.log('websocket收到消息', e);
if (e.data.indexOf('ping') > 0) {
return;
}