修改对应模块导出文件的名称
This commit is contained in:
parent
224ab3c85e
commit
2097ea83ae
|
@ -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)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user