<template>
<div class="page-div">
<el-pagination
:current-page="nowPage"
layout="total , prev, pager, next, jumper"
:total="total">
</el-pagination>
</div>
</template>
<script>
export default {
name: "page",
props:[
'nowPage',
'total'
],
watch:{
nowPage(value){
}
}
}
</script>
<style scoped>
.page-div{
display: block;
text-align: center;
}
</style>
-
wangwei authored29f39132