摘要: 1、安装 npm install print-js --save 2、引用 import print from 'print-js' 3、打印 const handlePrint = async () => { const style = '@page {margin:0mm 10mm};'//打印 阅读全文
posted @ 2024-06-07 11:40 ZJTL 阅读(46) 评论(0) 推荐(0) 编辑