Commit 594a95d9 by 陈玉桐

fix

parent a55bb750
......@@ -303,16 +303,17 @@ export default {
return
}
document.documentElement.scrollTop = document.body.scrollTop = 0
let me = this
html2canvas(document.getElementById('posterOut'), {
useCORS: true,
backgroundColor:null,
allowTaint: false
}).then(canvas => {
this.posterUrl = canvas.toDataURL('image/png')
me.posterUrl = canvas.toDataURL('image/png')
setTimeout(function(){
this.loadingShow = false
this.showPoster = true
this.createDialogShow = true
me.loadingShow = false
me.showPoster = true
me.createDialogShow = true
},300)
})
}else{
......
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