1.页面上最先引入 babel-polyfill,
即可解决问题ie兼容的 axios 的问题。
2.使用formData 对象即可解决,
sendParam:function(){
let formData = new FormData();
formData.append("name","zhou");
formData.append("addr","123456");
axios({
method: 'post',
url: '/sendParam',
data: formData,
// headers: {'Content-Type': 'application/x-www-form-urlencoded'}
}).then(function (res) {
alert(res.data)
});
},