This commit is contained in:
parent
3d496c7c0e
commit
2c4f135bbf
|
@ -11,7 +11,7 @@ axios.interceptors.request.use(
|
|||
(config) => {
|
||||
let token = tools.data.get('token');
|
||||
if (token) {
|
||||
config.headers['X-USER-TOKEN'] = token.token
|
||||
config.headers['x-token'] = token
|
||||
}
|
||||
return config;
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue