Commit 3a9c9301 by member

新增sign到请求头中

parent 32465d93
......@@ -6,11 +6,11 @@ axios.defaults.baseURL = `${window.location.origin}`;
axios.defaults.timeout = 10000;
axios.defaults.headers.post['Content-Type'] = 'appliaction/x-www-form-urlencoded;charset=UTF-8';
Vue 导入登录token 判断状态
// Vue 导入登录token 判断状态
axios.interceptors.request.use(
config => {
判断token
// 判断token
return config;
}, error => {
return Promise.reject(error);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment