修改useDownloadBlob实现错误
parent
5fa4edf841
commit
0ab3b914c8
|
|
@ -27,6 +27,7 @@ export default function useDownloadBlob(returnType = "object") {
|
||||||
mode: "cors",
|
mode: "cors",
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
|
"token": window.sessionStorage["token"],
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue