Closed lishaokun closed 3 years ago
如果不传body的话,直接 axios.post 传过去即可,如果传参数的话,写个方法:
axios.post
methods: { optionsFn(options) { // 实际返回一个函数即可 return this.axios.post(options, { xxxx }) } }
Question(提问)
Steps to reproduce(问题复现步骤)
Screenshot or Gif(截图或动态图)
Link to minimal reproduction(最小可在线还原 demo)
Other relevant information(格外信息)