王震
2023-08-25 16225c86f3bef25e88ecdb5fcc5469c2a7e446fb
src/utils/request.js
@@ -18,7 +18,7 @@
      // let each request carry token
      // ['X-Token'] is a custom headers key
      // please modify it according to the actual situation
      config.headers['token'] = getToken()
      config.headers['X-Token'] = getToken()
    }
    config.headers['link'] = store.state.settings.link
    // console.log('config' ,config)