新增 兼容encode过的下载url

This commit is contained in:
moux1024 2025-10-14 18:23:58 +08:00
parent 5b70c642a7
commit a40cacb528

View File

@ -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');