prerequisite: the subpage is a third-party website, which is equivalent to uncontrollable
.needs to be implemented: the parent page iframe cancels the scroll bar and shows the content of the child page, and when the content of the child page changes, the parent page adapts to its height
implementation process:
I initially tried to get the window height of the child page, but the result could not be obtained due to the cross-domain problem of the document.
later tried to use postMessage, but the third party did not get the interface to accept data and return data, so it could not get
so I"d like to ask you how to deal with this situation