From bdd0604bd05bfaaabadbd10c677fa23f6b464904 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E5=A5=95?= Date: Thu, 29 Dec 2016 10:43:00 +0800 Subject: [PATCH] remove obsolete migrating hints (#2055) --- packages/pagination/src/pagination.js | 13 ------------- packages/table/src/table.vue | 21 +-------------------- 2 files changed, 1 insertion(+), 33 deletions(-) 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 @@