[新增] field 字段组件

This commit is contained in:
就眠仪式
2021-10-01 22:31:21 +08:00
parent 9cfe1c06d5
commit ba5e4ea5c7
7 changed files with 58 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
::: demo
<template>
<lay-field title="标题">内容</lay-field>
</template>
<script>
import { ref } from 'vue'
export default {
setup() {
return {
}
}
}
</script>
:::
| | | |
|--|--|--|
| title | 标题 | -- |

View File

@@ -1,3 +1,4 @@
<br>
使用 npm 下载
```

View File

@@ -82,6 +82,7 @@ export default {
{ id: 21, title: '手风琴',subTitle:"collapse" ,path: '/zh-CN/components/collapse' },
{ id: 22, title: '表格',subTitle:"table" ,path: '/zh-CN/components/table' },
{ id: 23, title: '头像',subTitle:"avatar" ,path: '/zh-CN/components/avatar' },
{ id: 23, title: '字段',subTitle:"field" ,path: '/zh-CN/components/field' },
]
const selected = ref(1)

View File

@@ -121,6 +121,11 @@ const zhCN = [
path: '/zh-CN/components/avatar',
component: () => import('../../docs/zh-CN/components/avatar.md'),
meta: { title: '头像' },
},
{
path: '/zh-CN/components/field',
component: () => import('../../docs/zh-CN/components/field.md'),
meta: { title: '字段' },
}
],
},