摘要: 一、在ajax请求中,contentType 和 dataType 的区别? 1.contentType 内容类型。 1.1默认是 “application/x-www-form-urlencoded”,这种情况。 contentType :"application/x-www-form-urlencoded; charset=UTF-8", 此时,默认值适合大多数情况,当你明确的传递一个cont 阅读全文
posted @ 2019-10-25 18:56 送外卖的小菜鸟 阅读(2624) 评论(0) 推荐(0) 编辑