2022-08-30 elementUI pagination 实现在同一页面下多个分页

效果图:

image.png

主要代码:

....

@current-change="handleCurrentChangeM($event,index)"
:page-size="comment.pageSize"
:total="comment.total"
:current-page="comment.currentPage"
:background="true"
:small="true"
layout="total,prev, pager, next">

.......

handleCurrentChangeM(val,index){
this.currentTabData[index].currentPage = val;
this.answerCommentIndex = index;
this.refreshCommentReply();
},

你可能感兴趣的:(2022-08-30 elementUI pagination 实现在同一页面下多个分页)