problem description
the code is as follows:
var dom = document.getElementById("photoCon1")
html2canvas(dom, {useCORS: true}).then(canvas => {
// canvas DOM
document.body.appendChild(canvas);
});
the project framework uses vue, to get the canvas in the above way, which is always empty. I would like to ask if you have encountered this situation.