This commit is contained in:
梁灏 2017-04-27 16:55:48 +08:00
parent 8409abb815
commit cb6418ac5e
3 changed files with 60 additions and 21 deletions

View file

@ -1,7 +1,7 @@
<template>
<div>
<Checkbox-group v-model="fruit">
<Checkbox v-for="item in tags" :label="item.label"></Checkbox>
<Checkbox v-for="item in tags" :label="item.label" :key="item"></Checkbox>
</Checkbox-group>
<div>{{ fruit }}</div>
</div>