[新增] field 字段组件
This commit is contained in:
23
docs/docs/zh-CN/components/field.md
Normal file
23
docs/docs/zh-CN/components/field.md
Normal file
@@ -0,0 +1,23 @@
|
||||
::: demo
|
||||
|
||||
<template>
|
||||
<lay-field title="标题">内容</lay-field>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { ref } from 'vue'
|
||||
|
||||
export default {
|
||||
setup() {
|
||||
|
||||
return {
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
:::
|
||||
|
||||
| | | |
|
||||
|--|--|--|
|
||||
| title | 标题 | -- |
|
||||
@@ -1,3 +1,4 @@
|
||||
<br>
|
||||
|
||||
使用 npm 下载
|
||||
```
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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: '字段' },
|
||||
}
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user