Skip to content

Commit b9dab73

Browse files
Alex-Sokolovkazupon
authored andcommitted
Update list.md (vuejs#999)
1 parent e87a4f0 commit b9dab73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v2/guide/list.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ Here's a complete example of a simple todo list:
249249
<li
250250
is="todo-item"
251251
v-for="(todo, index) in todos"
252-
v-bind:key="todo"
252+
v-bind:key="index"
253253
v-bind:title="todo"
254254
v-on:remove="todos.splice(index, 1)"
255255
></li>

0 commit comments

Comments
 (0)