on-change 页码改变的回调,返回改变后的页码
<template>
<Page :total="total" :current="current" @on-change="change"></Page>
</template>
<script>
export default {
methods: {
change(page){
console.log(page)
}
}
}
</script>
网友评论