Vue2导出方法修改成文件流
This commit is contained in:
@@ -376,13 +376,9 @@ $if(replaceDto.ShowBtnExport)
|
||||
confirmButtonText: "确定",
|
||||
cancelButtonText: "取消",
|
||||
type: "warning",
|
||||
}).then(async () => {
|
||||
await export${genTable.BusinessName}(queryParams);
|
||||
})
|
||||
.then(function () {
|
||||
return export${genTable.BusinessName}(queryParams);
|
||||
})
|
||||
.then((response) => {
|
||||
this.download(response.data.path);
|
||||
});
|
||||
},
|
||||
$end
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user