记得上下班打卡 | git大法好,push需谨慎

Commit a9ad2e68 authored by jiangxiulong's avatar jiangxiulong

jAjax

parent 87b33593
......@@ -80,7 +80,8 @@
couType: couType,
bindType: '1,4'
};
var jAjax = $.post;
// var jAjax = $.get;
var jAjax = (that.ajax.method === "post") ? $.post : $.get;
jAjax(that.ajax.url, params, function(data){
return that.render(data.rows);
});
......
......@@ -80,7 +80,8 @@
couType: couType,
bindType: '1,4'
};
var jAjax = $.post;
// var jAjax = $.get;
var jAjax = (that.ajax.method === "post") ? $.post : $.get;
jAjax(that.ajax.url, params, function(data){
return that.render(data.rows);
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment