图一是bootstrap-table的数据发送样式,搜了一下资料,貌似是 因为下面这句话
contentType: 'application/json',
图二是用jQuery.ajax发送的数据,我也是加上了 contentType: 'application/json'
,但是变成了这样
要怎么样搞,才能让 jQuery 发送图一格式的数据
找了好多资料也没找到关键点,求解答。截图实在chrome浏览器下
注意
JSON.stringify
。