chore: 完善细节问题

This commit is contained in:
xlsea
2025-05-09 16:31:20 +08:00
parent 7d8929257e
commit 925c0f22e5
6 changed files with 10 additions and 36 deletions

View File

@ -42,7 +42,8 @@ export function useDownload() {
body: searchParams,
headers: {
Authorization: `Bearer ${token}`,
Clientid: clientId!
Clientid: clientId!,
'Content-Type': 'application/octet-stream'
}
})
.then(async response => {
@ -69,7 +70,8 @@ export function useDownload() {
method: 'get',
headers: {
Authorization: `Bearer ${token}`,
Clientid: clientId!
Clientid: clientId!,
'Content-Type': 'application/octet-stream'
}
})
.then(async response => {
@ -90,7 +92,8 @@ export function useDownload() {
method: 'get',
headers: {
Authorization: `Bearer ${token}`,
Clientid: clientId!
Clientid: clientId!,
'Content-Type': 'application/octet-stream'
}
})
.then(async response => {