首页 > TAG信息列表 > cloneDom

html2canvas配合printjs将页面打印出pdf

import html2canvas from 'html2canvas' import PrintJS from 'print-js' // 打印类属性、方法定义 给需要打印的加上class.flow-print /* eslint-disable */ const Print = function (dom, options = {}) {   if(!dom) {     dom = '.flow-print'   }   if ((ty