`
arr:[
{type:'user',isPx:false},
{type:'user',isPx:false},
{type:'user',isPx:false},
{type:'pro',isPx:false},
{type:'pro',isPx:false},
{type:'pro',isPx:false},
]
`
怎么做到其中type为user的只能勾选一个,其他type为user不能勾选,type为pro的也只能勾选一个,其他不能勾选。 是想把checkbox的状态改成不可选择状态
点击的时候,其他user置为false