Skip to content

Commit 65a4b04

Browse files
authored
Update forms.md
some part of this files didn't translate into chinese so I made some changes :)
1 parent a468cde commit 65a4b04

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/v2/guide/forms.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -362,11 +362,11 @@ vm.selected.number // -> 123
362362
<input v-model.trim="msg">
363363
```
364364

365-
## `v-model` with Components
365+
## `v-model` 与组件
366366

367-
> If you're not yet familiar with Vue's components, just skip this for now.
367+
> 如果你还不熟悉Vue的组件,那就先跳过这里。
368368
369-
HTML's built-in input types won't always meet your needs. Fortunately, Vue components allow you to build reusable inputs with completely customized behavior. These inputs even work with `v-model`! To learn more, read about [custom inputs](components.html#Form-Input-Components-using-Custom-Events) in the Components guide.
369+
HTML内建的input类型有时不能满足你的需求。还好,Vue的组件允许你建立一个完全定制化可复用input类型,这些input类型甚至可以和`v-model`一起使用!要了解更多,请参阅[定制input类型](components.html#Form-Input-Components-using-Custom-Events)
370370

371371

372372
***

0 commit comments

Comments
 (0)