Setting pager-count Times error when element-ui pagination

html part

<el-pagination v-if="rooms.length > 0" background
    @current-change="handleCurrentChange"
    :current-page.sync="currentPage"
    :page-size="pageSize"
    :pager-count="3"
    layout="prev, pager, next, jumper"
    :total="roomTotal">
</el-pagination>

js part

data() {
    return {
      rooms:[],
      currentPage:0,
      pageSize:20,
      roomTotal:0
    };
  },

roomTotal is dynamically set by the backend after responding

error screenshot

clipboard.png

Mar.30,2021

read the document carefully


pagecount: 10 is defined in data

element: pager-count= "pagecount"

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-1b3c272-2c2d2.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-1b3c272-2c2d2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?