This commit is contained in:
2023-10-01 02:46:24 +08:00
parent 980ffb778a
commit 407b999060
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ export default class ClientList {
} }
} }
channel.onmessage = event => { channel.onmessage = event => {
console.log('对方发送数据消息', JSON.parse(event.data).type) //console.log('对方发送数据消息', channel.label)
if (option && option.onmessage) { if (option && option.onmessage) {
option.onmessage(event, client) option.onmessage(event, client)
} }