src/plugin/axios/index.js
@@ -11,6 +11,7 @@ service.interceptors.request.use( (config) => { let token = localStorage.getItem(myConfig.tokenKey) config.headers['Cache-Control'] = 'no-cache, no-store, must-revalidate' if (token) config.headers['Authorization'] = `bearer ${token}` return config },