problem description
the height, of the generated canvas is configured as follows, but the actual height of the generated canvas is still the pixel height of the screen. I don"t know why
var opts = {
logging: true, //html2canvas
useCORS: true,//
height:500, //
};
html2canvas(dom, opts).then(canvas =>{
...
})