Commit 5797325c authored by 杨奕's avatar 杨奕 Committed by GitHub

Pagination: update pager value when page size changes (#10157)

parent 8eaf6000
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment