use key properly
This commit is contained in:
parent
e0b2463750
commit
f6e9f28745
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="selectable-list">
|
||||
<div v-for="item in items">
|
||||
<div v-for="item in items" :key="getKey(item)">
|
||||
<Checkbox :checked="isChecked(item)" @change="checked => toggle(checked, item)" />
|
||||
<slot name="item" :item="item" />
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user