currentPage表示当前页数,totalPages表示总页数。这两个参数用于渲染分页组件,laypage.render()方法会根据这两个参数生成相应的分页组件。jump()方法中的obj参数包含了当前页数等信息,可以根据这个信息来更新页面数据。

渲染分页						renderPaginationcurrentPage totalPages 							var _this = this;							layuiuselaypage function 							var laypage = layuilaypage;							laypagerender								elem pagination								count tota

原文地址: https://www.cveoy.top/t/topic/bdsZ 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录