perf[pagination]: remove current-page sync

do not use sync
This commit is contained in:
Pan 2018-02-22 18:35:51 +08:00
parent 6938dd3caf
commit 9205a85c2d
1 changed files with 1 additions and 2 deletions

View File

@ -79,8 +79,7 @@
</el-table>
<div class="pagination-container">
<el-pagination background @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page.sync="listQuery.page"
:page-sizes="[10,20,30, 50]" :page-size="listQuery.limit" layout="total, sizes, prev, pager, next, jumper" :total="total">
<el-pagination background @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="listQuery.page" :page-sizes="[10,20,30, 50]" :page-size="listQuery.limit" layout="total, sizes, prev, pager, next, jumper" :total="total">
</el-pagination>
</div>