fix: 修改代客下单添加时增加商品类型,修改激活码列表信息展示

This commit is contained in:
2025-03-18 16:14:22 +08:00
parent 7ec4fe0c83
commit c722cd4c79
8 changed files with 53 additions and 25 deletions

View File

@@ -110,7 +110,8 @@ export function downloadFile(obj: BlobPart, name: string, suffix: string, useUni
const link = document.createElement("a");
link.style.display = "none";
link.href = url;
const fileName = useUnix ? (parseTime(new Date(), undefined) + "-") : '' + name.trim() + "." + suffix;
const newFilename = useUnix ? (parseTime(new Date(), undefined) + "-") : '' + name.trim()
const fileName = newFilename + "." + suffix;
link.setAttribute("download", fileName);
document.body.appendChild(link);
link.click();