<template>
<div>
<el-pagination id="pagination" current-page="" page-size="" layout="total, prev, pager, next, jumper" total="" pager-count="" @size-change="" @current-change="">
</el-pagination>
</div>
</template>
<script>
export default {
name: '',
data() {
return {}
},
created(){},
mounted(){
// 获取DOM
const pagination = document.querySelector('#pagination')
if (pagination) {
// 共 条 => 共 请求
pagination.firstElementChild.textContent = `共${ }请求`
// 前往 => 跳转到
pagination.lastElementChild.firstElementChild.previousSibling.textContent = '跳转到'
// 页 => 层
pagination.lastElementChild.firstElementChild.nextSibling.textContent = '层'
}
},
methods: {}
}
</script>
10-22
3943

06-23
4613

02-15