diff --git a/packages/pagination/src/pagination.js b/packages/pagination/src/pagination.js index ca839fe03..ead77a084 100644 --- a/packages/pagination/src/pagination.js +++ b/packages/pagination/src/pagination.js @@ -211,6 +211,14 @@ export default { components: { ElInput }, + watch: { + '$parent.internalPageSize'() { + this.$nextTick(() => { + this.$refs.input.$el.querySelector('input').value = this.$parent.internalCurrentPage; + }); + } + }, + methods: { handleFocus(event) { this.oldValue = event.target.value;