消息 ID:connectWeb 在以下情况下会生成此消息:
开发者可以通过监听获取连接请求消息:复制
window.addEventListener('message', function (e) {
if (e.data.message && e.data.message.action == "connectWeb") {
// handler logic
console.log('got connectWeb event', e.data)
}
})
Your email address will not be published. Required fields are marked *