Commit c1f8ab1f by 陈玉桐

fix

parent 5f36fa61
......@@ -285,12 +285,12 @@ export default {
this.tipDialogShow = true
return
}
document.documentElement.scrollTop = document.body.scrollTop == 0
html2canvas(document.getElementById('posterOut'), {
useCORS: true,
backgroundColor:null,
}).then(canvas => {
this.posterUrl = canvas.toDataURL('image/png')
document.documentElement.scrollTop = document.body.scrollTop == 0
this.showPoster = true
this.createDialogShow = true
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment