1、npm引入html2canvas npm install html2canvas. 1. 2、项目引入html2canvas import html2canvas from 'html2canvas';. 1. 3、html代码,省略了具体的页面内容代码。
確定! 回上一頁