Clear up warnings when running test cases.

This commit is contained in:
陈嘉涵
2017-08-16 23:06:28 +08:00
parent 7636f26c27
commit f27fa0122d
9 changed files with 26 additions and 35 deletions

View File

@@ -1,6 +1,6 @@
<template>
<van-checkbox-group v-model="result">
<van-checkbox v-for="item in list" :name="item">复选框{{item}}</van-checkbox>
<van-checkbox v-for="(item, index) in list" :key="index" :name="item">复选框{{item}}</van-checkbox>
</van-checkbox-group>
</template>