ajax发送http请求时时会发送两次请求: 1 包含Access-Control-Request-Method的预请求 2 真正的数据请求 转载于:https://my.oschina.net/u/3242900/blog/1793247