Element ui paging pagerCount detection error

an error is detected when setting the paging pager-count, and the configuration is clearly correct

clipboard.png

the code is as follows:

<el-pagination

        background
        layout="pager"
        :current-page="bjCurrPage"
        @current-change="handleBjCurrentChange"
        :page-size="bjSize"
        :total="bjTotal" :pager-count="bjPageCount">
</el-pagination>
    bjData:[

    ],
    bjCurrData:[

    ],
    bjTotal:0,
    bjSize:4,
    bjPageCount:5,
    bjCurrPage:1,

Please give us some advice. Thank you

Jun.08,2021

Please post the complete code.
in addition, the total number of pages total and page-count can be set to display the page number without having to be set at the same time.


Today I also encountered the same problem. My problem lies in the fact that the value of the attribute is an odd number greater than or equal to 5 and less than or equal to 21

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e90373-12b8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e90373-12b8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?