用户接受连接

消息 ID:acceptWeb 在以下情况下会生成此消息:

  1. 用户接受连接。
  2. 开发者可以通过监听获取连接接受消息:

    复制
    window.addEventListener('message', function (e) { if (e.data.message && e.data.message.action == "acceptWeb") { // handler logic console.log('got acceptWeb event', e.data) } })




Would you like to share your thoughts?

Your email address will not be published. Required fields are marked *