feat: 删除bearer前缀

This commit is contained in:
常东方 2025-06-09 17:30:30 +08:00
parent a0cab6f763
commit 81fb19092e

View File

@ -54,7 +54,7 @@ const httpInterceptor = {
const userStore = useUserStore()
const { token } = userStore.userInfo as unknown as IUserInfo
if (token) {
options.header.Authorization = `Bearer ${token}`
options.header.Authorization = `${token}`
}
},
}