刘刚博客

$.post() 和 $.get() 如何同步请求

$.ajaxSettings.async = false;
$.post("/finance/getLastTimeCard", data, function(result) {
// 请求处理
},"json");
$.ajaxSettings.async = true;

posted @ 2019-08-16 10:17  Future.Net博客  阅读(565)  评论(0编辑  收藏  举报