我在我的项目中使用打印(使用HTML和javascript).在mozilla onbeforeprint和onafterprint工作正常但没有使用chrome.
javascript html5
html5 ×1
javascript ×1