📅  最后修改于: 2022-03-11 14:56:29.789000             🧑  作者: Mango
html2canvas(document.body,
{
useCORS: true, //By passing this option in function Cross origin images will be rendered properly in the downloaded version of the PDF
onrendered: function (canvas) {
//your functions here
}
});