Skip to content

Commit

Permalink
Merge pull request #4753 from zhanxu33/feature_4738_download
Browse files Browse the repository at this point in the history
feature: 修改流水线导出的下载方式 #4738
  • Loading branch information
irwinsun authored Jul 22, 2021
2 parents c8ef9f2 + 21f1124 commit c37c665
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ export default {
if (res.status >= 200 && res.status < 300) {
return res.blob()
} else {
throw new Error(res.statusText)
return res.json().then((result) => Promise.reject(result))
}
}).then((blob) => {
const a = document.createElement('a')
Expand Down

0 comments on commit c37c665

Please sign in to comment.