there is such an array
category: [
{name:"1",id:1},
{name:"2",id:2},
{name:"3",id:3}
]
then iterate through the page
< select v name= model = "model.parentCategory" name= "category" id= "category" >
<option v-for="(item,index) in category" :value="item.id">{{ item.name }}</option>
< / select >
how can I get item.id? -sharp-sharp-sharp problem description
whether you can dispense with jquery