diff --git a/src/renderer/src/AixPPTist/src/views/Editor/CanvasTool/index.vue b/src/renderer/src/AixPPTist/src/views/Editor/CanvasTool/index.vue index 7d8af6c..879865f 100644 --- a/src/renderer/src/AixPPTist/src/views/Editor/CanvasTool/index.vue +++ b/src/renderer/src/AixPPTist/src/views/Editor/CanvasTool/index.vue @@ -209,7 +209,7 @@ const insertImageElement = (files: FileList) => { } const onhtml2canvas = async (html: HTMLElement) => { - const ele = await toPng(html) + const ele = await toPng(html); createImageElement(ele); }