diff --git a/dist.zip b/dist.zip deleted file mode 100644 index c74bc64..0000000 Binary files a/dist.zip and /dev/null differ diff --git a/src/utils/request.js b/src/utils/request.js index ca14e95..96cc0c7 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -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; },