feat:导出返回数据改为文件流
This commit is contained in:
@@ -566,11 +566,8 @@ function handleExport() {
|
||||
cancelButtonText: "取消",
|
||||
type: "warning",
|
||||
})
|
||||
.then(function () {
|
||||
return export${genTable.BusinessName}(queryParams)
|
||||
})
|
||||
.then((response) => {
|
||||
proxy.download(response.data.path)
|
||||
.then(async () => {
|
||||
await export${genTable.BusinessName}(queryParams)
|
||||
})
|
||||
}
|
||||
$end
|
||||
|
||||
Reference in New Issue
Block a user