摘要: ajax跨越时默认不带cookie,如果需要带cookie调用,需要设置参数 xhrFields: { withCredentials: true },如: 但是在使用jQuery插件select2跨域时,在ajax下直接设参数 xhrFields: { withCredentials: true 阅读全文
posted @ 2017-12-19 19:39 svice 阅读(1485) 评论(0) 推荐(0) 编辑