1.0.5 • Published 10 months ago
custom-table-ui v1.0.5
Installation
npm install custom-table-ui --save
event
type 属性:单选(single) 多选(multiple)
loading 属性: 和 Iview 的 Table 一样的
marking 属性:传入表格数据的唯一属性,例如 id
getSelectData 方法:接收参数是数组
注意
当传入 type 属性时,要给传入的列表数据加上 checked 属性如:{id:1, checked: false}