1.0.3 • Published 9 months ago
phil-el-table v1.0.3
phil-el-table
npm install phil-el-table
使用案例
main.js
import PhilElTable from 'phil-el-table';
import 'phil-el-table/philElTable.css'
Vue.use(PhilElTable);
<template>
<div>
<PhilElTable
:tableData="tableData"
:opts="opts"
:showIndex="false"
:stripe="true"
:loading="loading"
:tableBoxBool="false"
:pageForm="form"
height="100%"
width="100%">
</PhilElTable>
</div>
</template>
组件属性
参数 | 说明 | 类型 |
---|---|---|
tableData | 列表数据 | Array |
opts | 数据头部 | Array |
showIndex | 是否显示序号 | Boolean |
loading | 加载请求 loading | Boolean |
tableBoxBool | 是否更改默认样式 | Boolean |
pageForm | 分页 | Object |
showRadio | 是否单选 | Boolean |
showSelection | 是否多选 | Boolean |
showExpand | 是否展开 | Boolean |