Commit 3cfec564 by 陈玉桐

fix

parent 347053b7
......@@ -301,16 +301,16 @@ export default {
this.tipDialogShow = true
return
}
document.documentElement.scrollTop = document.body.scrollTop = 0
html2canvas(document.getElementById('posterOut'), {
useCORS: true,
backgroundColor:null,
allowTaint: false
}).then(canvas => {
this.posterUrl = canvas.toDataURL('image/png')
this.showPoster = true
this.createDialogShow = true
})
// document.documentElement.scrollTop = document.body.scrollTop = 0
// html2canvas(document.getElementById('posterOut'), {
// useCORS: true,
// backgroundColor:null,
// allowTaint: false
// }).then(canvas => {
// this.posterUrl = canvas.toDataURL('image/png')
// this.showPoster = true
// this.createDialogShow = true
// })
}else{
this.applyDialogShow = 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