From 18b5f63fc79c83ad26d4e56beeb582051c8d9e24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=BF=9B?= Date: Mon, 27 Jul 2026 14:27:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8E=BB=E6=8E=89=20saveAs=20=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E4=B8=8B=E8=BD=BD=E6=98=AF=E5=90=A6=E6=AD=A3=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web-to-ppt/popup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web-to-ppt/popup.js b/web-to-ppt/popup.js index 9ba8b12..9a12f32 100644 --- a/web-to-ppt/popup.js +++ b/web-to-ppt/popup.js @@ -112,7 +112,7 @@ async function exportPptx() { const safeTitle = title.replace(/[\\/:*?"<>|]+/g, '-').replace(/\s+/g, '-').slice(0, 64) || 'webpage'; const filename = `web-to-ppt/${safeTitle}-${Date.now()}.pptx`; - await chrome.downloads.download({ url, filename, saveAs: true }); + await chrome.downloads.download({ url, filename }); setTimeout(() => URL.revokeObjectURL(url), 60000); setProgress(100, `已导出:${filename}`);