Commit d6bf8a21 authored by Xiaoyu Zhai's avatar Xiaoyu Zhai Committed by cinwell.li

form(doc): fix form docs typo (#3825)

parent 1a481f5c
...@@ -391,7 +391,7 @@ ...@@ -391,7 +391,7 @@
在防止用户犯错的前提下,尽可能让用户更早地发现并纠正错误。 在防止用户犯错的前提下,尽可能让用户更早地发现并纠正错误。
::: demo Form 组件提供了表单验证的功能,只需要通过 `rule` 属性传入约定的验证规则,并 Form-Item 的 `prop`设置为需校验的字段名即可。校验规则参见 [async-validator](https://github.com/yiminghe/async-validator) ::: demo Form 组件提供了表单验证的功能,只需要通过 `rule` 属性传入约定的验证规则,并 Form-Item 的 `prop`设置为需校验的字段名即可。校验规则参见 [async-validator](https://github.com/yiminghe/async-validator)
```html ```html
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px" class="demo-ruleForm"> <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px" class="demo-ruleForm">
<el-form-item label="活动名称" prop="name"> <el-form-item label="活动名称" prop="name">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment