使用 PhantomJS-node 生成截图

在 Node Server 里截取网页生成图片 使用 phantomjs-node 可以方便的实现上面的功能 安装 $ npm install phantom --save 使用 const phantom = require('phantom'); (async function() { const instance = await phantom.create(); const page = await instance.createPage(); awa...