Skip to content

Commit 6c110a9

Browse files
authored
Update Example09DynamicAddRemove.vue (#621)
fixed module warning when compile Module Warning (from ./node_modules/vue-loader/lib/loaders/templateLoader.js): (Emitted value instead of an instance of Error) <grid-item v-for="item in layout">: component lists rendered with v-for should have explicit keys. See https://vuejs.org/guide/list.html#key for more info.
1 parent c81821d commit 6c110a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

website/docs/.vuepress/components/Example09DynamicAddRemove.vue

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
:w="item.w"
2727
:h="item.h"
2828
:i="item.i"
29+
:key="item.i"
2930
>
3031
<span class="text">{{item.i}}</span>
3132
<span class="remove" @click="removeItem(item.i)">x</span>

0 commit comments

Comments
 (0)