After consuming a js file using require, feeding it a param to be used

后端 未结 0 659
情歌与酒
情歌与酒 2021-01-01 18:29

I created a file called axios.js that sets an interceptor on axios so wherever I use it, it will have these headers. It looks like the following:

const axios          


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