This commit is contained in:
parent
10a7e73c64
commit
9603406a0b
|
@ -209,7 +209,7 @@ const insertImageElement = (files: FileList) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const onhtml2canvas = async (html: HTMLElement) => {
|
const onhtml2canvas = async (html: HTMLElement) => {
|
||||||
const ele = await toPng(html)
|
const ele = await toPng(html);
|
||||||
createImageElement(ele);
|
createImageElement(ele);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue