From e05fb14462e5e13f2964b94ca5ee6368abc203b3 Mon Sep 17 00:00:00 2001 From: HuangYi <280309453@qq.com> Date: Mon, 17 Oct 2016 11:48:41 +0800 Subject: [PATCH] Update index.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit v-for when go through Object,first param is val and second param is key --- src/api/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/index.md b/src/api/index.md index fbbbac5d5e..8b9401af66 100644 --- a/src/api/index.md +++ b/src/api/index.md @@ -1336,8 +1336,8 @@ All lifecycle hooks automatically have their `this` context bound to the instanc ``` html
- - + + ``` The default behavior of `v-for` will try to patch the elements in-place without moving them. To force it to reorder elements, you need to provide an ordering hint with the `key` special attribute: