Commit e90aaa78 by xinla

--no commit message

1 parent 507ad179
<template> <template>
<div class="pagination-container" ref="pagination"> <div
class="pagination-container"
ref="pagination"
v-if="$attrs['hide-on-single-page'] === false || $attrs.total > limit">
<el-pagination <el-pagination
v-bind="$attrs" v-bind="$attrs"
:background="background" :background="background"
...@@ -67,6 +70,9 @@ export default { ...@@ -67,6 +70,9 @@ export default {
}, },
}, },
}, },
mounted() {
console.log(this.$attrs)
},
methods: { methods: {
handleSizeChange(val) { handleSizeChange(val) {
this.$emit('pagination', { page: this.currentPage, limit: val }) this.$emit('pagination', { page: this.currentPage, limit: val })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!