problem description
the current situation is that in iview, as long as you put Option, you will report an error. The iview version number is 3.11
. I ran the official sample code directly, but reported an error. Other components are normal, but this is the only one with a problem
the environmental background of the problems and what methods you have tried
The error reported by is
excuse me, what is this values and what caused it?
related codes
< template >
<Select v-model="model1" style="width:200px">
<Option v-for="item in cityList" :value="item.value" :key="item.value">{{ item.label }}</Option>
</Select>
< / template >
< script >
export default {
data () {
return {
cityList: [
{
value: "New York",
label: "New York"
},
{
value: "London",
label: "London"
},
{
value: "Sydney",
label: "Sydney"
},
{
value: "Ottawa",
label: "Ottawa"
},
{
value: "Paris",
label: "Paris"
},
{
value: "Canberra",
label: "Canberra"
}
],
model1: ""
}
}
}
< / script >