From a40cacb52871c04c7fb37c12d41228b0296883c1 Mon Sep 17 00:00:00 2001 From: moux1024 <403053463@qq.com> Date: Tue, 14 Oct 2025 18:23:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20=E5=85=BC=E5=AE=B9encode?= =?UTF-8?q?=E8=BF=87=E7=9A=84=E4=B8=8B=E8=BD=BDurl?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/tools.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/tools.ts b/utils/tools.ts index 9910de9..a3cd219 100644 --- a/utils/tools.ts +++ b/utils/tools.ts @@ -80,7 +80,7 @@ export function createScreenAdapter(): void { export const downloadVideo = async (url: string) => { try { - const response = await fetch(url); + const response = await fetch(decodeURIComponent(url)); const blob = await response.blob(); const blobUrl = window.URL.createObjectURL(blob); const a = document.createElement('a');