Commit dd899331 by 姜雷

提高打印等级

parent 47a2ebfa
......@@ -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