a8922fc7 by yangjianbin

init

1 parent 667e48fe
......@@ -123,9 +123,12 @@
if(draw) {
ret.draw = draw;
}
// ret.draw = parseInt(json.page.currentPage);
ret.recordsTotal = 0;
ret.recordsFiltered = 0;
if (json.page) {
ret.recordsTotal = parseInt(json.page.totalNumber);
ret.recordsFiltered = parseInt(json.page.totalNumber);
}
return JSON.stringify(ret);
},
data: function (data) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!