Commit ab856f8b by 姜雷

Merge branch 'develop' into 'test'

添加token打印 See merge request !100
parents 66f24557 47a2ebfa
......@@ -21,6 +21,8 @@ service.interceptors.request.use(
conf => {
const { notLoading } = conf;
store.dispatch('fetchStart', notLoading);
console.info('token: ', store.getters.token);
if (store.getters.token) {
conf.headers = {
...conf.headers,
......
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