From e5a24c4873baa9db62ad1ab6f3adb078dac89dc2 Mon Sep 17 00:00:00 2001 From: Moonofweisheng <1780903673@qq.com> Date: Mon, 20 Jan 2025 15:37:18 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E2=9C=8F=EF=B8=8F=20=20=E6=A0=87?= =?UTF-8?q?=E6=B3=A8=20Form=20=E7=BB=84=E4=BB=B6=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E4=B8=8D=E6=A0=A1=E9=AA=8C=E9=9A=90=E8=97=8F=E5=AD=90=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E7=9A=84=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/component/form.md | 62 +----------------------------------------- 1 file changed, 1 insertion(+), 61 deletions(-) diff --git a/docs/component/form.md b/docs/component/form.md index fc7b99ec..0b9f5989 100644 --- a/docs/component/form.md +++ b/docs/component/form.md @@ -486,70 +486,10 @@ function handleValidate() { ::: -## 不对隐藏组件做校验 +## 不对隐藏组件做校验 1.6.0 在表单中,如果某个组件使用 `v-if` 隐藏,则不会对该组件进行校验。 -::: details 查看不对隐藏组件做校验示例 -::: code-group - -```html [vue] - - - - - - - 提交 - - -``` - -```typescript [typescript] - -``` - -```css [css] -.footer { - padding: 12px; -} -``` - -::: - ## 复杂表单 结合`Input 输入框`、`Textarea 输入框`、`Picker 选择器`、 `Calendar 日历选择器`、 `ColPicker 多列选择器`、`SelectPicker 单复选选择器`、`Cell 单元格` 和 `DatetimePicker 日期时间选择器`实现一个复杂表单。