checkBox的问题
已知interests = [0,1,2]
设置checkItems:[
{name:‘a’,value:‘0’},
{name:'b,value:‘1’},
{name:‘c’,value:‘2’}
]
时如何设置里面与value对应的值选中
已知interests = [0,1,2]
设置checkItems:[
{name:‘a’,value:‘0’},
{name:'b,value:‘1’},
{name:‘c’,value:‘2’}
]
时如何设置里面与value对应的值选中