diff --git a/docs/component/form.md b/docs/component/form.md index d58e92fffea48676989901b059e50321a99ac2a9..6acc5dc39fc00f16a18303ee28d13601ef21af72 100644 --- a/docs/component/form.md +++ b/docs/component/form.md @@ -95,9 +95,9 @@ ![uniapp](https://img-cdn-qiniu.dcloud.net.cn/uniapp/doc/img/form.png?t=201857) -**微信小程序注意事项** +**小程序端注意事项** -微信小程序端在`from`内的自定义组件内有`input`等表单控件时,无法在`form`的`submit`事件内获取组件内表单控件值,此时可以使用微信提供的[behaviors](https://developers.weixin.qq.com/miniprogram/dev/framework/custom-component/behaviors.html)来做一下兼容。参考以下示例: +小程序端在`from`内的自定义组件内有`input`等表单控件时,无法在`form`的`submit`事件内获取组件内表单控件值,此时可以使用`behaviors`,示例如下: ```html @@ -141,13 +141,7 @@