原文地址,Javascript – xhr multipart/form-data
解决方法:把 headers 里的 content-type 清空

更多推荐

angular8提交file文件时 no multipart boundary param in Content-Type