Commit 419a9f1b by 陈玉桐

fix

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