import store from '../store' if (!isEmpty(store.state.token)) { config.headers['Authorization'] = store.state.token; }