mirror of
https://github.com/nsnail/NetAdmin.git
synced 2025-04-20 05:02:50 +08:00
fix: 🐛 导出文件的responseType (#205)
Co-authored-by: tk <fiyne1a@dingtalk.com>
This commit is contained in:
parent
5e9b67bca8
commit
841a4195e7
@ -1 +1 @@
|
||||
Subproject commit 013f35e296abf757d576ba15857265bdc769ede8
|
||||
Subproject commit 6ea7ac8e50929d0e6f4bdfe60830b18a65980515
|
@ -1 +1 @@
|
||||
Subproject commit d54b0b7cf8cffb15a5eff796ffe4e89fd403ed23
|
||||
Subproject commit c5c88dc135621259d5ba7d61af9b670cf7853456
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user