<Select v-model="timeValue" >
<Option v-for="item in timeList" :value="item.value" :key="item.value">{
{item.label }}</Option>
</Select>
//data中
timeList:[
{label:"提交时间",value:""},
{label:"回执时间",value:""}
],
可以看到v-for循环时,给每一项的key都是item.value ,而item.value一开始都为空,就就导致了key重复,可以把key赋值index或者label