1.0.30 • Published 5 months ago
qilin-element3x v1.0.30
安装
npm install qilin-element3x
引用
import QilinElement from "qilin-element3x";
import "qilin-element3x/style.css";
举例
<QilinTable v-model:tableConfig="tableConfig"></QilinTable>
const tableConfig=reactive({
elTableConfig:{
border:true
},
headerConfig:[
{
label:"姓名",
prop:"name",
type:"text"
},
{
label:"手机号",
prop:"phonenumber",
type:"text",
width:120
},
{
label:"操作",
type:"operate",
fixed:"right",
width:280,
operateOptions:[
{
btnName:"编辑",
btnType:"primary",
btnSize:"default",
text:true,
btnClick:(row,item,scope,optItem)=>{
console.log(row,item,scope,optItem);
}
},
{
btnName:"删除",
btnType:"primary",
btnSize:"default",
text:true,
btnClick:(row,item,scope,optItem)=>{
console.log(row,item,scope,optItem);
}
}
]
}
],
tableData:[
{
name:"Qilin",
phonenumber:"18655536329"
}
],
paginationsObj:{
isHide:false, //是否隐藏分页器
currentPage:1, //当前页
pageSize:10, //当前每页数量
pageSizes:[10,20,30], //每页显示多少条选项集
total:0, //表格总数量
layout:"total,sizes,prev,pager,next,jumper"
}
});
- 更多API使用方法请访问Qilin个人博客
1.0.19
6 months ago
1.0.18
6 months ago
1.0.17
6 months ago
1.0.16
7 months ago
1.0.9
9 months ago
1.0.22
6 months ago
1.0.21
6 months ago
1.0.20
6 months ago
1.0.26
6 months ago
1.0.25
6 months ago
1.0.24
6 months ago
1.0.23
6 months ago
1.0.29
5 months ago
1.0.28
5 months ago
1.0.27
6 months ago
1.0.11
9 months ago
1.0.10
9 months ago
1.0.30
5 months ago
1.0.15
7 months ago
1.0.14
7 months ago
1.0.13
9 months ago
1.0.12
9 months ago
1.0.8
10 months ago
1.0.7
12 months ago
1.0.6
1 year ago
1.0.2
1 year ago
1.0.5
1 year ago
1.0.4
1 year ago
1.0.3
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago