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:
parent
398d59d78a
commit
8ceae17d4d
|
@ -79,7 +79,7 @@
|
|||
</el-table>
|
||||
|
||||
<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">
|
||||
</el-pagination>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue