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
html2canvas(document.getElementById('posterOut'), { setTimeout(function(){
useCORS: true, html2canvas(document.getElementById('posterOut'), {
backgroundColor:null, useCORS: true,
allowTaint: false backgroundColor:null,
}).then(canvas => { allowTaint: false
me.posterUrl = canvas.toDataURL('image/png') }).then(canvas => {
setTimeout(function(){ me.posterUrl = canvas.toDataURL('image/png')
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