Set headers based on url

后端 未结 0 675
轻奢々
轻奢々 2021-02-05 05:18

I\'m using Axios interceptors to set some data and headers in different requests:

export default ({ $axios }) => {
  $axios.onRequest((req) => {
    if (req         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题