From 809d18d77d3e3d09ab680b3f71654891b579c647 Mon Sep 17 00:00:00 2001 From: Robert Benjamin Date: Sat, 8 Jul 2017 18:13:31 -0700 Subject: [PATCH] Use index as the key in todo list example If the todo content is used as the key, there will be issues if a user enters multiple todos with the same content. Using the index ensures that all keys are unique. --- src/v2/guide/list.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v2/guide/list.md b/src/v2/guide/list.md index fd9931fb68..ef1af1fb43 100644 --- a/src/v2/guide/list.md +++ b/src/v2/guide/list.md @@ -298,7 +298,7 @@ new Vue({