Commit 0dc23d99 by 张杰

修复分页

1 parent a8cadd12
......@@ -97,7 +97,7 @@
</el-table-column>
</el-table>
<div class="pagination_list">
<el-pagination background layout="sizes, total,prev, pager, next, jumper" :total="pageTotal" :current-page.sync="currentPage" :page-sizes="pageSizes" @current-change="getList" @size-change="changePageSize" />
<el-pagination background layout="sizes, total,prev, pager, next, jumper" :total="pageTotal" :current-page.sync="currentPage" :page-size.sync="pageSize" :page-sizes="pageSizes" @current-change="getList" @size-change="changePageSize" />
</div>
</div>
<!-- 表格区域 end -->
......@@ -258,6 +258,8 @@ export default {
// 重置
rest() {
this.searchForm = { timeType: "1" };
this.pageSize = 10;
this.currentPage = 1
this.getList();
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!