摘要: 第一种IFrame通信: //这个消息从A的作用域发出 this.contentWindow.postMessage({}, "*"); //B作用域开启监听获取A发过来的消息 window.addEventListener('message', function (event) { }); //B 阅读全文
posted @ 2019-09-18 20:55 发福大叔 阅读(3721) 评论(0) 推荐(0) 编辑