Skip to content

Commit 747d642

Browse files
Ryqskyulivz
authored andcommittedSep 15, 2018
chore: elements in iteration expect to have 'v-bind:key' directives. (#817)
1 parent 559888b commit 747d642

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎lib/default-theme/Home.vue

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
>
3131
<div
3232
class="feature"
33-
v-for="feature in data.features"
33+
v-for="(feature, index) in data.features"
34+
:key="index"
3435
>
3536
<h2>{{ feature.title }}</h2>
3637
<p>{{ feature.details }}</p>

0 commit comments

Comments
 (0)
Please sign in to comment.