vue created periodically receives the values transmitted by eventbus, using
respectively.setTimeout (function () {
_this.generatePoster();
}, 2000);
this.$nextTick (() = > {
// DOM
_this.generatePoster();
});
use dom, after rendering to take screenshots using html2canvas.
the first result is valid, and the second is always generating half of the dom,. Is the dom not finished yet?