remove .sync

if use .sync  'this.listQuery.page === val' will allways get true, and can't change data of page.
This commit is contained in:
saighost
2018-02-22 18:13:11 +08:00
committed by GitHub
parent 398d59d78a
commit 8ceae17d4d

View File

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