The current-page of el-pagination in elementUI cannot be triggered.

problem description

current-page of el-pagination in elementUI cannot trigger
paging using this.pagination.currentPage = val; in handleCurrentChange has changed, but the page reported an error vue.esm.js?efeb:591 [Vue warn]: Error in event handler for "current-change": "TypeError: Cannot set property "currentPage" of undefined", and the corresponding content is not displayed.

Jul.22,2021

<el-pagination
 class="margin-top25 align-right"
 :current-page="pagin.pageNo"
 :total="pagin.totalCount"
 :page-size="pagin.pageSize"
 @current-change="handleCurrentChange"
></el-pagination>
handleCurrentChange(curPage){
    console.log(curPage) // 
}

@current-change="handleCurrentChange"
handleCurrentChange(curPage){
    console.log(curPage) // 
}

then you have to make a request.

Menu