文件路径修改
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user