diff --git a/src/form/README.md b/src/form/README.md index eaced3611..8f3c21fde 100644 --- a/src/form/README.md +++ b/src/form/README.md @@ -2,7 +2,7 @@ ### Intro -Used for data entry and verification, and supports input boxes, radio buttons, check boxes, file uploads and other types. +Used for data entry and verification, and supports input boxes, radio buttons, check boxes, file uploads and other types. Should be used with [Field](#/en-US/field) component. ### Install @@ -10,10 +10,11 @@ Register component globally via `app.use`, refer to [Component Registration](#/e ```js import { createApp } from 'vue'; -import { Form } from 'vant'; +import { Form, Field } from 'vant'; const app = createApp(); app.use(Form); +app.use(Field); ``` ## Usage diff --git a/src/form/README.zh-CN.md b/src/form/README.zh-CN.md index 093079da2..6f7c447fc 100644 --- a/src/form/README.zh-CN.md +++ b/src/form/README.zh-CN.md @@ -2,7 +2,7 @@ ### 介绍 -用于数据录入、校验,支持输入框、单选框、复选框、文件上传等类型。 +用于数据录入、校验,支持输入框、单选框、复选框、文件上传等类型,需要与 [Field 输入框](#/zh-CN/field) 组件搭配使用。 ### 引入 @@ -10,10 +10,11 @@ ```js import { createApp } from 'vue'; -import { Form } from 'vant'; +import { Form, Field } from 'vant'; const app = createApp(); app.use(Form); +app.use(Field); ``` ## 代码演示 diff --git a/src/number-keyboard/README.md b/src/number-keyboard/README.md index 2f833fdde..b76c097f3 100644 --- a/src/number-keyboard/README.md +++ b/src/number-keyboard/README.md @@ -2,7 +2,7 @@ ### Intro -The numberkeyboard component can be used with [PasswordInput](#/en-US/password-input) components or custom input box components. +The NumberKeyboard component can be used with [PasswordInput](#/en-US/password-input) component or custom input box components. ### Install