diff --git a/packages/pagination/src/pagination.js b/packages/pagination/src/pagination.js index cf3ed0a43..a85f7badb 100644 --- a/packages/pagination/src/pagination.js +++ b/packages/pagination/src/pagination.js @@ -1,14 +1,11 @@ import Pager from './pager.vue'; import ElSelect from 'element-ui/packages/select'; import ElOption from 'element-ui/packages/option'; -import Migrating from 'element-ui/src/mixins/migrating'; import Locale from 'element-ui/src/mixins/locale'; export default { name: 'ElPagination', - mixins: [Migrating], - props: { pageSize: { type: Number, @@ -235,16 +232,6 @@ export default { }, methods: { - getMigratingConfig() { - return { - props: {}, - events: { - 'currentchange': 'Pagination: currentchange has been renamed to current-change', - 'sizechange': 'Pagination: sizechange has been renamed to size-change' - } - }; - }, - handleCurrentChange(val) { this.internalCurrentPage = this.getValidCurrentPage(val); }, diff --git a/packages/table/src/table.vue b/packages/table/src/table.vue index adbeb6645..60b498ddc 100644 --- a/packages/table/src/table.vue +++ b/packages/table/src/table.vue @@ -106,7 +106,6 @@