计算分页总页数的j较简单的算法

var totalPage = (totalNumber + pageSize - 1) / pageSize;

猜你喜欢

转载自www.cnblogs.com/dayang12525/p/12932718.html