fix: 修改ts 错误
This commit is contained in:
parent
307480ded2
commit
4d05697b1c
@ -38,7 +38,7 @@ axiosInstance.interceptors.request.use(
|
||||
config.headers = {
|
||||
...config.headers,
|
||||
[userInfo[SystemStoreUserInfoEnum.TOKEN_NAME] || 'token']: userInfo[SystemStoreUserInfoEnum.USER_TOKEN] || ''
|
||||
}
|
||||
} as InternalAxiosRequestConfig['headers']
|
||||
return config
|
||||
},
|
||||
(err: AxiosError) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user