Pagination: fix emit order of page size (#12530)

pull/12476/merge
Jikkai Xiao 2018-08-28 18:18:30 +08:00 committed by GitHub
parent df76542703
commit 03ae4a446a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -205,8 +205,8 @@ export default {
if (val !== this.$parent.internalPageSize) {
this.$parent.internalPageSize = val = parseInt(val, 10);
this.$parent.userChangePageSize = true;
this.$parent.$emit('size-change', val);
this.$parent.$emit('update:pageSize', val);
this.$parent.$emit('size-change', val);
}
}
}