elementUI分页报错 Invalid prop: custom validator check failed for prop "pagerCount"
在element分页中使用pager-count报错:
vue.esm.js?c5de:628 [Vue warn]: Invalid prop: custom validator check failed for prop "pagerCount".
found in
---> <ElPagination>
<ElDialog> at packages/dialog/src/component.vue
<FinancingManaLendingList>
<ElMain> at packages/main/src/main.vue
<CompageLayout>
<ElContainer> at packages/container/src/main.vue... (1 recursive calls)
<MainLayout>
<App> at src/App.vue
<Root>
<el-pagination style="padding-bottom: 0;" @size-change="handleBuyerSizeChange" @current-change="handleBuyerCurrentChange" :current-page="1" :pager-count="6" :page-sizes="[5, 10, 15, 20]" :page-size="5" layout="total, sizes, prev, pager, next, jumper" :total="50"> </el-pagination>
只要5~21之间的奇数
青春承载希望,奋斗成就未来