fix: axios

pull/2/head
xingyu4j 2022-11-11 10:15:42 +08:00
parent 414c191472
commit 775083e152
1 changed files with 0 additions and 1 deletions

View File

@ -129,7 +129,6 @@ service.interceptors.response.use(
// 2.1 刷新成功,则回放队列的请求 + 当前请求
setToken((await refreshTokenRes).data.data)
config.headers!.Authorization = 'Bearer ' + getAccessToken()
service.defaults.headers.Authorization = 'Bearer ' + getAccessToken()
requestList.forEach((cb: any) => {
cb()
})