From 9d558c798ef5f74c2ab4c0451cbe42602a210ed1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com>
Date: Sun, 11 Sep 2022 22:13:52 +0800
Subject: [PATCH] =?UTF-8?q?=E2=9C=A8(component):=20release=201.4.12?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
package/component/package.json | 2 +-
.../src/document/zh-CN/components/form.md | 14 +++---
.../src/document/zh-CN/guide/dark.md | 4 +-
.../src/document/zh-CN/guide/getStarted.md | 45 ++++---------------
.../src/document/zh-CN/guide/theme.md | 2 +-
package/document-component/src/view/index.vue | 2 +-
6 files changed, 22 insertions(+), 47 deletions(-)
diff --git a/package/component/package.json b/package/component/package.json
index dee4f1cb..538b4f5b 100644
--- a/package/component/package.json
+++ b/package/component/package.json
@@ -1,6 +1,6 @@
{
"name": "@layui/layui-vue",
- "version": "1.4.11",
+ "version": "1.4.12",
"author": "就眠儀式",
"license": "MIT",
"description": "a component library for Vue 3 base on layui-vue",
diff --git a/package/document-component/src/document/zh-CN/components/form.md b/package/document-component/src/document/zh-CN/components/form.md
index 45adab05..a84de027 100644
--- a/package/document-component/src/document/zh-CN/components/form.md
+++ b/package/document-component/src/document/zh-CN/components/form.md
@@ -536,9 +536,10 @@ export default {
| label | 子项前边描述值,**尽量填写**,中文校验错误需要用到 | `string` | - | - |
| label-position| 子项前边描述值的位置 | `string` | `left` `top` `right` |`right` |
| label-width | 子项前边描述值的宽度 | `string` `number` | - | `95` |
-| required | 是否必填 | `boolean` | `true` `false` | `false` |
-| rules | 表单校验规则;
可查看[async-validator](https://github.com/yiminghe/async-validator) | `object` | - | - |
-| error-message | 表单校验失败固定提示语 | `string` |`block` `inline`| `block` |
+| required | 表单必填 | `boolean` | `true` `false` | `false` |
+| required-error-message | 表单必填校验失败固定提示语 | `string` | -- | -- |
+| rules | 表单校验规则;
可查看[async-validator](https://github.com/yiminghe/async-validator) | `object` | - | - |
+| error-message | 表单校验失败固定提示语 | `string` | -- | -- |
| mode | 表单项显示的模式,`块元素` / `行元素` | `string` |`block` `inline`| `block` |
:::
@@ -572,8 +573,11 @@ export default {
::: title 关于 async-validator 的使用
:::
-查看: https://github.com/yiminghe/async-validator
-中文翻译: https://www.cnblogs.com/wozho/p/10955525.html
+::: describe 查看: https://github.com/yiminghe/async-validator。
+:::
+
+::: describe 翻译: ttps://www.cnblogs.com/wozho/p/10955525.html。
+:::
::: title async-validator 基本校验类型
:::
diff --git a/package/document-component/src/document/zh-CN/guide/dark.md b/package/document-component/src/document/zh-CN/guide/dark.md
index 19bd4ae5..a5d8f9ea 100644
--- a/package/document-component/src/document/zh-CN/guide/dark.md
+++ b/package/document-component/src/document/zh-CN/guide/dark.md
@@ -4,7 +4,7 @@
::: describe 默认情况下, 网站主题为日间模式。
:::
-::: describe 若启用夜间模式, 使用 "全局配置" 组件配合 theme 属性, 设置为 `dark` 值。
+::: describe 若启用夜间模式, 使用 "全局配置" 组件配合 theme 属性, 设置为 dark 值。
:::
```vue
@@ -19,7 +19,7 @@ const theme = ref('dark')
```
-::: title 偏好设置
+::: title 选项配置
:::
::: describe 若内置的夜间模式不满足要求时, 可通过 dark-partial 属性进行偏好设置。
diff --git a/package/document-component/src/document/zh-CN/guide/getStarted.md b/package/document-component/src/document/zh-CN/guide/getStarted.md
index 5e87b6cb..7c8691bf 100644
--- a/package/document-component/src/document/zh-CN/guide/getStarted.md
+++ b/package/document-component/src/document/zh-CN/guide/getStarted.md
@@ -129,41 +129,12 @@ app.mount('#app')
:::
```html
-
-
-