File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -46,11 +46,11 @@ var demo = new Vue({
46
46
47
47
## Arrays of Primitive Values
48
48
49
- For Arrays containing primitive values, you can access the value simply as ` value ` :
49
+ For Arrays containing primitive values, you can access the value simply as ` $ value` :
50
50
51
51
``` html
52
52
<ul id =" tags" >
53
- <li v-repeat =" tags" >{{ ; value} ; }</li >
53
+ <li v-repeat =" tags" >{{ ; $ value} ; }</li >
54
54
</ul >
55
55
```
56
56
@@ -64,7 +64,7 @@ new Vue({
64
64
```
65
65
66
66
** Result:**
67
- <ul id =" tags " class =" demo " ><li v-repeat =" tags " >{{ ; value} ; }</li ></ul >
67
+ <ul id =" tags " class =" demo " ><li v-repeat =" tags " >{{ ; $ value} ; }</li ></ul >
68
68
<script >
69
69
new Vue ({
70
70
el: ' #tags' ,
@@ -178,4 +178,4 @@ function demoReplace2 () {
178
178
}
179
179
})
180
180
}
181
- </script >
181
+ </script >
You can’t perform that action at this time.
0 commit comments