remove obsolete migrating hints (#2055)

This commit is contained in:
杨奕
2016-12-29 10:43:00 +08:00
committed by FuryBean
parent 119188a634
commit bdd0604bd0
2 changed files with 1 additions and 33 deletions

View File

@@ -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);
},