在postman中,将“内容类型”重置为auto。字段azureTesting的内容类型不是multipart/form-data。
在发送请求前将数据用qs模块转化 修改请求头的Content-Type='application/x-www-form-urlencoded' 具体配置如下: importaxiosfrom'axios'importqsfrom'qs'// 添加请求拦截器axios.interceptors.request.use(function(config) {if(config.method!='get'){ config.data=qs.stringify(config.data); } config.headers['...
在postman中,将“内容类型”重置为auto。字段azureTesting的内容类型不是multipart/form-data。