Error:Invalid prop: custom validator check failed for prop "pagerCount".
- Element 分页使用
pager-count
报错
错误原因:pager-count只要5~21之间的奇数
<el-pagination
small
layout="total, prev, pager, next"
:pager-count="6"
:page-size="pageData.pageSize"
:total="pageData.total"
:current-page="pageData.pageNo"
@current-change="changePage"
>
</el-pagination>