update xlsx to xls

This commit is contained in:
Mohamed Nouffer
2021-09-15 14:11:56 +05:30
parent 6712a14225
commit 3980888f44
8 changed files with 13 additions and 13 deletions

View File

@ -123,7 +123,7 @@ function Index() {
const url = window.URL.createObjectURL(new Blob([response.data]));
const link = document.createElement('a');
link.href = url;
link.setAttribute('download', 'file.xlsx'); //or any other extension
link.setAttribute('download', 'file.xls'); //or any other extension
document.body.appendChild(link);
link.click();
});