設(shè)置了分頁(yè) 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>然后點(diǎn)擊搜索后需要改成第一頁(yè) // 開始搜索
searTenantHouseList() { this.pagination.currentPage = 1
this.GetTenantHouseList()
}但點(diǎn)擊搜索后 this.pagination.currentPage還是沒修改并且點(diǎn)擊頁(yè)碼跳轉(zhuǎn)時(shí) this.pagination.currentPage 還是沒改變求指教
element-ui 分頁(yè)修改current-page后,視圖上還是沒改變
月關(guān)寶盒
2019-03-03 12:55:30