window.print概述打开打印对话框打印当前文档。语法window.print() 规范SpecificationHTML Standard # printing浏览器兼容性BCD tables only load in the browser with JavaScript enabled. Enable JavaScript to view data.参见 Printing window.onbeforeprint window.onafterprint