Skip to content

Commit

Permalink
Merge pull request volksbright#109 from lichunqiang/patch-1
Browse files Browse the repository at this point in the history
tweak
  • Loading branch information
dingyiming committed Oct 9, 2016
2 parents 929edff + cb2770f commit deec3bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/guide/migration.md
Expand Up @@ -508,7 +508,7 @@ new Vue({
</div>
{% endraw %}

###使用内联 `value``v-model` <sup>弃用</sup>
### 使用内联 `value``v-model` <sup>弃用</sup>

`v-model` 不再以内联 `value` 方式初始化的初值了,显然他将以实例的data相应的属性作为真正的初值。

Expand Down Expand Up @@ -551,7 +551,7 @@ data: {
<input v-for="str in strings" v-model="str">
```

因为 `<input>` 将被便宜成类似下面的js代码
因为 `<input>` 将被编译成类似下面的js代码

``` js
strings.map(function (str) {
Expand Down Expand Up @@ -1549,4 +1549,4 @@ A benefit of functional components over partials is that they can be much more d

> 原文: http://vuejs.org/guide/migration.html
***
***

0 comments on commit deec3bf

Please sign in to comment.