Compare commits
No commits in common. "e95e5fe60f62b8b5dae15dd4daf2a4ee00f54a01" and "abf7a67d079d3947afadd000f3b2310b6b21bb2e" have entirely different histories.
e95e5fe60f
...
abf7a67d07
|
|
@ -278,13 +278,13 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
downloadExcel1() {
|
||||
this.axios({
|
||||
this.$http({
|
||||
method: 'get',
|
||||
url: '/downloadExcel1',
|
||||
url: '/scenario/battleConsume/downloadExcel1',
|
||||
responseType: 'blob'
|
||||
}).then(res => {
|
||||
const blob = new Blob([res], {
|
||||
type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
|
||||
const blob = new Blob([res.data], {
|
||||
type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
|
||||
})
|
||||
const link = document.createElement('a')
|
||||
link.href = URL.createObjectURL(blob)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user