fix pagination select

This commit is contained in:
Leopoldthecoder 2016-11-28 12:27:46 +08:00
parent ce3bed6cb5
commit 2fc06cc37b

View File

@ -141,14 +141,14 @@ export default {
<span class="el-pagination__sizes">
<el-select
value={ this.$parent.internalPageSize }
on-change={ this.handleChange }>
on-input={ this.handleChange }>
{
this.pageSizes.map(item =>
<el-option
value={ item }
label={ item + ' ' + this.t('el.pagination.pagesize') }>
</el-option>
)
<el-option
value={ item }
label={ item + ' ' + this.t('el.pagination.pagesize') }>
</el-option>
)
}
</el-select>
</span>