在AJAX中进行如下修改:
加入:
dataType: "json",
移除:
contentType: 'application/json',
然后检查参数名称,类型是否符合后台的类型
问题解决
在AJAX中进行如下修改:
加入:
dataType: "json",
移除:
contentType: 'application/json',
然后检查参数名称,类型是否符合后台的类型
问题解决
转载于:https://www.cnblogs.com/llcdbk/p/6401558.html