效果图:

主要代码:
<div v-for=”(comment,index) in commentData”>
….
<el-pagination
@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”>
</el-pagination>
…….
handleCurrentChangeM(val,index){
this.currentTabData[index].currentPage = val;
this.answerCommentIndex = index;
this.refreshCommentReply();
},
© 版权声明
文章版权归作者所有,未经允许请勿转载。
相关文章
暂无评论...


