创建一个js文件,只需要用puppeteer浏览器打开网址,保存pdf即可。 // html2pdf.js. const puppeteer = require('puppeteer'); (async function(){ // ...
確定! 回上一頁