Skip to content

Commit

Permalink
fix: 🐛 导出文件的responseType (#205)
Browse files Browse the repository at this point in the history
Co-authored-by: tk <[email protected]>
  • Loading branch information
nsnail and tk authored Nov 15, 2024
1 parent 5e9b67b commit 841a419
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion refs/Gurion
2 changes: 1 addition & 1 deletion src/frontend/admin/src/components/scTable/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 841a419

Please sign in to comment.