Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
suhaotian committed Apr 26, 2024
1 parent ce13e37 commit 241bb14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1684,8 +1684,8 @@ xior
},
responseType: 'blob',
})
.then((res) => res.response.blob())
.then((blob) => {
.then((res) => {
const { data: blob } = res;
var url = window.URL.createObjectURL(blob);
var a = document.createElement('a');
a.href = url;
Expand Down

0 comments on commit 241bb14

Please sign in to comment.