mirror of
https://github.com/nsnail/NetAdmin.git
synced 2025-08-01 17:55:59 +08:00
fix: 🐛 导出文件的responseType (#205)
Co-authored-by: tk <fiyne1a@dingtalk.com>
This commit is contained in:
Submodule refs/FreeSql updated: 013f35e296...6ea7ac8e50
Submodule refs/Gurion updated: d54b0b7cf8...c5c88dc135
@ -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
|
||||
|
Reference in New Issue
Block a user