😎下载文件默认原始文件名
This commit is contained in:
parent
e11704d0e9
commit
c4ea5296cb
@ -287,7 +287,7 @@ const handleUpload = async () => {
|
||||
const handleDownload = async (row: any) => {
|
||||
// var res = await getAPI(SysFileApi).sysFileDownloadPost({ id: row.id });
|
||||
var fileUrl = fetchFileUrl(row);
|
||||
downloadByUrl({ url: fileUrl });
|
||||
downloadByUrl({ url: fileUrl, fileName: row.fileName });
|
||||
};
|
||||
|
||||
// 删除
|
||||
|
||||
Loading…
Reference in New Issue
Block a user