摘要: 引入cnpm install html2canvas. html代码 <!-- 把需要生成截图的元素放在一个元素容器里,设置一个ref --> <div class="image_tofile" ref="imageTofile"> <!-- 这里放需要截图的元素,自定义组件元素也可以 --> </ 阅读全文
posted @ 2019-04-03 10:33 shirliey 阅读(9602) 评论(0) 推荐(0) 编辑