访问ajax请求后的结果

        let getJPM = (function() {
                let result;
                let url ="xxx";
                $.ajax({
                    type: "post",
                    url: url,
                    data: {"ajbs":row.ajbs,"pkJudge":row.id},
                    headers: {
                        authorization:new_Authorization,
                    },
                    dataType: "JSON",
                    async: false,
                    success: function(data) {
                        result = data;
                    }
                });
                return result;
            })();

  

posted @ 2021-01-15 15:22  三号小玩家  阅读(158)  评论(0编辑  收藏  举报
Title
三号小玩家的 Mail: 17612457115@163.com, 联系QQ: 1359720840 微信: QQ1359720840