<template>
<div class="pagination">
<el-row type="flex" justify="end" >
<el-pagination
background
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page="currentPage"
:page-sizes="pageSizes"
:page-size="pageSize"
:pager-count="5"
layout="sizes, prev, pager, next, jumper"
:total="total">
</el-pagination>
</el-row>
</div>
</template>
when you click on the number of pages to modify, or the number of entries displayed on each page will report the following error
vue.esm.js?efeb:591 [Vue warn]: Error in event handler for "size-change": "TypeError: Cannot read property "toLowerCase" of undefined"
how do I correct this error?