this.axios({
url:this.common.getApi() + '/sys/api/convertgifs/downloadConvertGifs',
method:'get',
params: {
ids: this.ids
},
responseType: 'blob',
}).then((res) => {
let data = res.data
const blob = data
const fileName = '订单导出.csv'
const elink = document.createElement('a')
elink.download = fileName
elink.style.display = 'none'
elink.href = URL.createObjectURL(blob)
document.body.appendChild(elink)
elink.click()
URL.revokeObjectURL(elink.href) // 释放URL 对象
document.body.removeChild(elink)
})