L .??1
2021/3/24 15:47:50
Paging.prototype.toPage = function(page) {
let PageTotalNum = this.getPageTotalNum();
if (page < 1) {
page = 1;
}
if (page > PageTotalNum) {
page = PageTotalNum;
}
this.options.current = page;
console.log(page) //获取当前页码
this.show()
}