fix: 🐛 导出文件的responseType (#205)

Co-authored-by: tk <fiyne1a@dingtalk.com>
This commit is contained in:
2024-11-15 18:34:45 +08:00
committed by GitHub
parent 5e9b67bca8
commit 841a4195e7
3 changed files with 3 additions and 3 deletions

View File

@ -504,7 +504,7 @@ export default {
async exportData() {
this.loading = true
try {
await this.exportApi.post(this.getQueryParams())
await this.exportApi.post(this.getQueryParams(), { responseType: 'blob' })
this.$message.success(`数据已导出上限5万条`)
} catch {}
this.loading = false