zhongshujie
2025-05-27 fb377ee3e942fe0cbc616d86043d79fcf507d1f1
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
  },