471 B
471 B
#### 改变
改变每页显示条目数。
#### Changer
Change `pageSize`.
<template>
<a-pagination showSizeChanger @showSizeChange="onShowSizeChange" :defaultCurrent="3" :total="500" />
</template>
<script>
export default {
methods: {
onShowSizeChange(current, pageSize) {
console.log(current, pageSize);
}
}
}
</script>
<style scoped>
.ant-select {
margin-bottom: 0 !important;
}
</style>