iframe 嵌入调试
粘贴交给宿主 A 的嵌入代码。B 通过 postMessage 回传高度后,A 只更新 .iframe-section 的 height(iframe 保持 100%)。
postMessage 日志
0 条尚无消息。收到 B 的 height + iframeId 后,会更新 .iframe-section 高度(iframe 仍为 height:100%)。
粘贴交给宿主 A 的嵌入代码。B 通过 postMessage 回传高度后,A 只更新 .iframe-section 的 height(iframe 保持 100%)。
尚无消息。收到 B 的 height + iframeId 后,会更新 .iframe-section 高度(iframe 仍为 height:100%)。