文件路径修改

This commit is contained in:
2026-06-04 10:25:18 +08:00
parent 7ecc69df5e
commit ee9e2c403c
3 changed files with 6 additions and 4 deletions
@@ -1927,7 +1927,8 @@ async function downloadFile(filePath, fileName = "附件") {
return;
}
try {
const arrayBuffer = await downloadLaunchFile(filePath);
const resp = await downloadLaunchFile(filePath);
const arrayBuffer = resp.data;
const blob = new Blob([arrayBuffer]);
const url = window.URL.createObjectURL(blob);
const link = document.createElement("a");