change download file name
This commit is contained in:
@ -127,6 +127,8 @@ function Index() {
|
||||
// //document.body.appendChild(link);
|
||||
// link.click();
|
||||
|
||||
console.log(response.headers)
|
||||
|
||||
const url = window.URL.createObjectURL(new Blob([response.data], { type: 'application/vnd.ms-excel' }));
|
||||
const link = document.createElement('a');
|
||||
link.href = url;
|
||||
|
||||
Reference in New Issue
Block a user