|
@@ -74,7 +74,6 @@ export function RecordFile(Fileurl,fileName){
|
|
|
if (!data) return alert('文件下载失败');
|
|
|
// let fileName = '统计表计';
|
|
|
if (typeof window.navigator.msSaveBlob !== 'undefined') {
|
|
|
- // window.navigator.msSaveBlob(new Blob([data], { type: 'application/vnd.ms-excel' }), fileName + '.xlsx');
|
|
|
window.navigator.msSaveBlob(new Blob([data], { type: 'application/vnd.ms-excel' }), fileName);
|
|
|
} else {
|
|
|
let url = window.URL.createObjectURL(new Blob([data], { type: 'application/vnd.ms-excel' }));
|