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
);
}
实现效果:
转载请注明原文地址: https://mac.8miu.com/read-501256.html