fix: 备份管理文件下载文件名zip
This commit is contained in:
1 parent
48ff1b57f7
commit
891e3c458d
1 file changed
+1
-1
@@ -149,7 +149,7 @@ function fnDownloadFile(row: Record<string, any>) {
|
||||
key,
|
||||
duration: 2,
|
||||
});
|
||||
saveAs(res.data, `user_${Date.now()}.xlsx`);
|
||||
saveAs(res.data, `${row.file_name}`);
|
||||
} else {
|
||||
message.error({
|
||||
content: `${res.msg}`,
|
||||
|
||||
Reference in new issue
Block a user