SOURCE

console 命令行工具 X clear

                    
>
console
function adjustIframe(){
        var ifm= document.getElementById("bi_iframe");
        ifm.height=document.documentElement.clientHeight;
        ifm.width=document.documentElement.clientWidth;
}
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=, initial-scale=">
	<meta http-equiv="X-UA-Compatible" content="">
	<title>iframe高度自适应</title>
</head>
<body>
    <iframe id="bi_iframe" src="https://mp.weixin.qq.com/s/pxKMdosKagiMD8i0Urke-w" onload="adjustIframe();" 
            frameborder="0" scrolling="auto">
    </iframe>
</body>
</html>