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

Co-authored-by: tk <fiyne1a@dingtalk.com>
This commit is contained in:
nsnail 2024-11-15 18:34:45 +08:00 committed by GitHub
parent 5e9b67bca8
commit 841a4195e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit 013f35e296abf757d576ba15857265bdc769ede8
Subproject commit 6ea7ac8e50929d0e6f4bdfe60830b18a65980515

@ -1 +1 @@
Subproject commit d54b0b7cf8cffb15a5eff796ffe4e89fd403ed23
Subproject commit c5c88dc135621259d5ba7d61af9b670cf7853456

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