update
This commit is contained in:
parent
a012b3b4fa
commit
a41924cd07
@ -40,7 +40,9 @@ $(".download").click(() => {
|
|||||||
useCORS: true,
|
useCORS: true,
|
||||||
background: null,
|
background: null,
|
||||||
windowWidth:document.body.scrollWidth,
|
windowWidth:document.body.scrollWidth,
|
||||||
windowHeight:document.body.scrollHeight
|
windowHeight:document.body.scrollHeight,
|
||||||
|
x:0,
|
||||||
|
y:0
|
||||||
}).then(canvas => {
|
}).then(canvas => {
|
||||||
let imgUrl = Canvas2Image.convertToPNG(canvas,$("#app").width(),$("#app").height())
|
let imgUrl = Canvas2Image.convertToPNG(canvas,$("#app").width(),$("#app").height())
|
||||||
imgUrl = $(imgUrl).attr('src')
|
imgUrl = $(imgUrl).attr('src')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user