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之间的奇数

 

 

posted @ 2020-10-13 16:34  青春无敌小宇宙  阅读(1142)  评论(0编辑  收藏  举报