scale 这个属性还是需要设置一下的,一开始没有设置导致导出的PDF很模糊。 htmlToPdf.js 代码根据自己实现有稍作修改. import html2canvas from 'html2canvas'; ...
確定! 回上一頁