Commit 65d48470 by 姜雷

Merge branch 'develop' into 'test'

提高打印等级 See merge request !101
parents ab856f8b dd899331
...@@ -21,13 +21,14 @@ service.interceptors.request.use( ...@@ -21,13 +21,14 @@ service.interceptors.request.use(
conf => { conf => {
const { notLoading } = conf; const { notLoading } = conf;
store.dispatch('fetchStart', notLoading); store.dispatch('fetchStart', notLoading);
console.info('token: ', store.getters.token); let token = store.getters.token;
console.error('token: ', token);
if (store.getters.token) { if (token) {
conf.headers = { conf.headers = {
...conf.headers, ...conf.headers,
reqSource: 'pc', reqSource: 'pc',
token: store.getters.token, token: token,
ip: ip, ip: ip,
}; };
} else { } else {
......
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