jQuery ajax 方法 data 参数默认 encode 失败的 bug

📝

内容提要

使用 jQuery ajax 方法调用异步接口时 data 参数默认会被添加转码 encodeURIComponent,如下: $.ajax({ url: 'http://your.domain.com/action', dataType: 'jsonp', data: { spaces: 'a b', other: '&' ...

🏷️

标签

➡️

继续阅读