feat: 删除bearer前缀
This commit is contained in:
parent
a0cab6f763
commit
81fb19092e
@ -54,7 +54,7 @@ const httpInterceptor = {
|
|||||||
const userStore = useUserStore()
|
const userStore = useUserStore()
|
||||||
const { token } = userStore.userInfo as unknown as IUserInfo
|
const { token } = userStore.userInfo as unknown as IUserInfo
|
||||||
if (token) {
|
if (token) {
|
||||||
options.header.Authorization = `Bearer ${token}`
|
options.header.Authorization = `${token}`
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user