修改对应模块导出文件的名称

This commit is contained in:
renpy 2023-07-18 13:56:53 +08:00 committed by orgin
parent 224ab3c85e
commit 2097ea83ae
2 changed files with 2 additions and 2 deletions

View File

@ -134,7 +134,7 @@ export default {
const blob = new Blob([res], { type: "application/vnd.ms-excel" }) const blob = new Blob([res], { type: "application/vnd.ms-excel" })
let link = document.createElement('a') let link = document.createElement('a')
link.href = window.URL.createObjectURL(blob) link.href = window.URL.createObjectURL(blob)
link.download = "ALERTS" link.download = "MET"
document.body.appendChild(link) document.body.appendChild(link)
link.click() link.click()
URL.revokeObjectURL(link.href) URL.revokeObjectURL(link.href)

View File

@ -122,7 +122,7 @@ export default {
const blob = new Blob([res], { type: "application/vnd.ms-excel" }) const blob = new Blob([res], { type: "application/vnd.ms-excel" })
let link = document.createElement('a') let link = document.createElement('a')
link.href = window.URL.createObjectURL(blob) link.href = window.URL.createObjectURL(blob)
link.download = "ALERTS" link.download = "RMSSOH"
document.body.appendChild(link) document.body.appendChild(link)
link.click() link.click()
URL.revokeObjectURL(link.href) URL.revokeObjectURL(link.href)