EOS Low-Code Platform 8 EOS Low-Code Platform 8
产品简介
学习指南
更新说明
安装与集成
初见EOS
低代码开发手册
专业代码开发手册
专题场景实战
公共服务框架
应用运行治理
升级手册
常见问题
  • PmPagination
  • 基础用法
  • Attributes

# PmPagination

继承自 el-pagination (opens new window), 提供了默认设置

# 基础用法

image-20241224143759971

基础用法

<template>
  <pm-pagination :total="100" >
  </pm-pagination>  
</template>
<script>
export default {
  data() {
    return {
      data: [
        {
          name: 'zzr'
        }
      ],
      addAttrs: {
        name: 'zzr'
      }
    }
  }
}
</script>
显示代码 复制代码 复制代码

# Attributes

参数 说明 类型 可选值 默认值
pageSizes 分页信息 array - [10, 20, 30, 40, 50, 100, 200, 300, 400, 500, 1000]
pageSize 默认每页多少条数据 number - 10
layout 布局 string - 'slot,total, prev, pager, next, sizes,jumper'

← table 表格 tree 树形 →