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

总页数=(数据总条数+每页数据条数-1)/ 每页数据条数
posted on 2022-03-25 10:09  jeffh  阅读(273)  评论(0)    收藏  举报