設置了分頁 current-page <el-pagination background
layout="prev, pager, next"
:total="pagination.total"
:page-size="filterForm.maxResultCount"
:current-page="pagination.currentPage"
@current-change="getPageNumber"> </el-pagination>然后點擊搜索后需要改成第一頁 // 開始搜索
searTenantHouseList() { this.pagination.currentPage = 1
this.GetTenantHouseList()
}但點擊搜索后 this.pagination.currentPage還是沒修改并且點擊頁碼跳轉時 this.pagination.currentPage 還是沒改變求指教
添加回答
舉報
0/150
提交
取消