feat: 批量下载任务

This commit is contained in:
rd
2025-07-21 15:10:26 +08:00
parent 4800d5fa99
commit e6798bf313
8 changed files with 103 additions and 20 deletions

View File

@ -107,3 +107,6 @@ export function downloadByUrl(url: string, filename?: string) {
document.body.removeChild(a);
}
export function genRandomId() {
return `id_${Date.now()}_${Math.floor(Math.random() * 10000)}`;
}