修改useDownloadBlob实现错误

master
LiuJiaNan 2025-11-11 17:17:48 +08:00
parent 5fa4edf841
commit 0ab3b914c8
1 changed files with 1 additions and 0 deletions

View File

@ -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) => {