From 9603406a0bec2f7ff0ac4e6bea54527f9d92c595 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Czouyf=E2=80=9D?= <80906036@qq.com> Date: Tue, 10 Dec 2024 11:09:32 +0800 Subject: [PATCH] 1 --- .../src/AixPPTist/src/views/Editor/CanvasTool/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }