DEBUG
This commit is contained in:
parent
980ffb778a
commit
407b999060
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue