$.ajax({
type: ‘post’,
async: true,
url: yurl,
dataType: ‘json’,
data:formdata
processData: false,
contentType: false,
xhrFields: {
withCredentials: true
},
crossDomain: true,
success: function (data) {
}
});
$.ajax上传formdata数据
最新推荐文章于 2023-05-28 23:07:33 发布