Vux framework, how to get the id? selected by the check box

clipboard.png

the official document is as follows:

<checklist title="" :options="commonList" v-model="fruitID"></checklist>
{{fruitID}}

commonList:[ "China", "Japan", "America" ]

but the actual project data will not be like this. It will definitely carry id, as follows

commonList: 
[
    {
        id:1,
        name:""
    },
    {
        id:2,
        name:""
    }
],

in this way, I will pass the selected id to the background

The

document does not specify whether anyone has used this framework and how to get the corresponding id?.


export default {

data () {  
  return {  
    tag: '1',  
    commonList: 
        [
            {
                id:1,
                name:""
            },
            {
                id:2,
                name:""
            }
        ],
}  

},

< checklist title= "Please select": options= "tag = item.id" VMI model = "fruitID" VMI for = "item in commonList" > < / checklist >

The example in the

document is the same as yours
clipboard.png

.
Menu