其他分享
首页 > 其他分享> > element ui的分页的问题

element ui的分页的问题

作者:互联网

<el-pagination v-if="paginationShow"
@current-change="handleCurrentChange"
:current-page.sync="pagination.currentPage"
:page-size="pagination.size"
layout="total, prev, pager, next, jumper"
:total="pagination.total">
</el-pagination>

 

 

 

search () {
this.paginationShow = false
this.$nextTick(function () {
this.paginationShow = true;
})
},

 

就可以解决分页的状态的颜色的修改

标签:pagination,分页,element,current,ui,total,page,paginationShow,size
来源: https://www.cnblogs.com/czb1218/p/16434916.html