jquery同步请求

$.ajaxSetup({async:false});

原文地址:https://www.cnblogs.com/zrui-xyu/p/4863263.html