问题:现在请求的数据体事form-data格式的,如何用axios请求呢?
axios({ url: '你的那个接口', method: 'post', headers: { 'content-type': 'multipart/form-data' } })
要写在headers里面,记得采纳