done: function (res, curr, count) {
console.log(res);
$("[data-field = 'sort']").children().each(function () {
if ($(this).text() == '1') {
$(this).text("人才");
} else if ($(this).text() == '2') {
$(this).text("政策");
} else if ($(this).text() == '3') {
$(this).text("项目");
}
})
//得到当前页码
console.log(curr);
//得到数据总量
console.log(count);
}
实现效果: