Commit 3cfec564 by 陈玉桐

fix

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