📃 补充列配置文档

This commit is contained in:
就眠儀式
2021-12-15 00:57:30 +08:00
parent 25ee7195f0
commit e11a8d41e0
4 changed files with 22 additions and 18 deletions

View File

@@ -223,12 +223,12 @@ export default {
{
title:"账户",
width:"200px",
slot:"username",
customSlot:"username",
key:"username"
},{
title:"密码",
width: "180px",
slot:"password",
customSlot:"password",
key:"password"
},{
title:"年龄",
@@ -248,11 +248,11 @@ export default {
]
const rowClick = function(data) {
alert(JSON.stringify(data))
console.log(JSON.stringify(data))
}
const rowDoubleClick = function(data) {
alert(JSON.stringify(data))
console.log(JSON.stringify(data))
}
return {
@@ -309,3 +309,16 @@ export default {
| toolbar | 自定义工具栏 | -- |
:::
::: title 列配置
:::
::: table
| 插槽 | 描述 | 默认 |
| ------- | ------------ | ---- |
| title | 列标题 | -- |
| key | 数据字段 | -- |
| customSlot | 插槽名称 | -- |
| width | 宽度 | -- |
:::