zhongshujie
2025-07-24 c1ab140c6a5ae4da17b61a080c0facd0f83815e2
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
  },