Commit 01d06ce2 by 陈玉桐

test

parent 14cddb1e
...@@ -289,6 +289,7 @@ export default { ...@@ -289,6 +289,7 @@ export default {
html2canvas(document.getElementById('posterOut'), { html2canvas(document.getElementById('posterOut'), {
useCORS: true, useCORS: true,
backgroundColor:null, backgroundColor:null,
allowTaint: false
}).then(canvas => { }).then(canvas => {
this.posterUrl = canvas.toDataURL('image/png') this.posterUrl = canvas.toDataURL('image/png')
this.showPoster = true this.showPoster = 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