jQuery中的异步请求跨域的方法:

  xhrFields: {withCredentials: true} 

   当设置为  true时,表示允许跨域;

                        false时,表示禁止跨域

相关文章: