当前位置: 首页 > 工具软件 > Pagination > 使用案例 >

Element--pagination 默认值

施赞
2023-12-01

pagination 默认值

 <el-pagination
        v-show="showPage"
        ref="pagination"
        background
        style="margin-top:5px;margin-bottom:10px;text-align:right"
        :current-page="currentPage"
        :page-sizes="[10, 20, 30, 40]"
        :page-size="pageSize"
        layout="total, sizes, prev, pager, next, jumper"
        :total="total"
        @size-change="handleSizeChange"
        @current-change="handleCurrentChange"
      />
  this.$set(this.$refs.pagination, 'internalCurrentPage', parseInt(page))
          this.$set(this.$refs.pagination, 'internalPageSize', parseInt(size))
 类似资料: