杨磊
6 天以前 23cbeff293c7f71b7769d1a94bd5def3a24c20b1
src/plugin/axios/index.js
@@ -11,8 +11,8 @@
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}`
    console.log(localStorage.getItem(myConfig.tokenKey),"---"+8989899)
    return config
  },
  (error) => {