1.0.3 • Published 9 months ago

phil-el-page v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
9 months ago

phil-el-page

npm install phil-el-page

使用案例

main.js
import PhilElPage from 'phil-el-table';
import 'phil-el-page/philElPage.css'
Vue.use(PhilElPage);
<template>
  <div>
   <PhilElPage
        style="margin-top: 10px"
        :pageSize="form.limit"
        :pageIndex="form.page"
        :totalPage="form.total"
        :layout="layout"
        @currentChangeHandle="currentChangeHandle"
        @sizeChangeHandle="sizeChangeHandle"
      />
</template>

组件属性

参数说明类型
pageSize每页条数Number
pageIndex当前页数Number
totalPage总页数Number
layout分页配置String 'prev, pager, next, jumper,total'
pageSizes每页页数数组Array 100,200,300,400
pageBoxBool是否用样式Boolean
currentChangeHandle分页切换Boolean
sizeChangeHandle每页数切换Object
1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago