window.document.body.innerHTML = window.document.getElementById('print')!.innerHTML; window.print(); window.location.reload();
本文来自博客园,作者:zjxgdq,转载请注明原文链接:https://www.cnblogs.com/zjxzhj/p/17349138.html