The exported images vary from device to device. Some exported images are incomplete
DevicePixelRatio let Context = canvas2.getContext("2d"); // Let scale = window.devicepixelRatio let Context = canvas2.getContext("2d"); The context. The scale (2, 2); // Let scale =2; // Let scale =2; html2canvas(this.$refs.poster, { canvas:canvas2, width:width, height:height, scale:scale, backgroundColor: "Rgba (0, 0, 0, 0)", // background color useCORS: trueCopy the code