发布时间: 2017-12-16 06:36:00
参考: https://stackoverflow.com/a/29329118/445908
在待打印的页面中,加上:
setTimeout(function () { window.print() window.close() }, 500)