提交 94e32a7f 编写于 作者: Yuanzhao.dai's avatar Yuanzhao.dai

将本地调试用的toke改为重app中获取token

上级 d7757160
......@@ -15,8 +15,8 @@ Axios.interceptors.request.use(
const method = config.method.toLocaleLowerCase();
if (method === 'post' || method === 'put' || method === 'delete') {}
if (config.withCredentials) {
//config.headers.token = getCookie('token') || sessionStorage.getItem('token');
config.headers.token = '76D717B0D52641A3A8B718BC775529A8'
config.headers.token = getCookie('token') || sessionStorage.getItem('token');
// config.headers.token = 'FE9A61476DA84BAD9B966FAF4C497871'
}
return config;
},
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册