Js打印指定区域的内容怎么写function preview(oper) {2 if (oper <10){3 bdhtml=window.document.body.innerHTML获取当前页的html代码4 sprnstr="2023-02-21JavaScript170