访问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;
})();