[update] 企标导出,后缀改成xls

This commit is contained in:
lideqin
2024-08-26 09:46:31 +08:00
parent 5fe00c4e27
commit 9c3bbfcf0d
@@ -451,7 +451,7 @@ export default {
return
}
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 + '.xls')
} else {
const url = window.URL.createObjectURL(new Blob([data], { type: 'application/vnd.ms-excel' }))
const link = document.createElement('a')