Commit 65d48470 by 姜雷

Merge branch 'develop' into 'test'

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