Skip to content

Commit bcfd6f8

Browse files
committed
add :key for v-for loop
1 parent 7bd858d commit bcfd6f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default {
4747
},
4848
template: `
4949
<div class="extensionpoint-container">
50-
<component :is="plugin_component" v-for="plugin_component in plugins"/>
50+
<component :is="plugin_component" v-for="plugin_component in plugins" :key="plugin_component.id"/>
5151
</div>
5252
`
5353
})

0 commit comments

Comments
 (0)