{xtype : 'radiogroup',
items : [{
boxLabel : 'jjj',
name : 'tyutrfytr',
inputValue : 1,
checked : true
}, {
boxLabel : 'kkk',
name : 'dfdsfdsddd',
inputValue : 2,
listeners: {
check : function(cb, rec, ind) {
alert('hhhh');
}
}
}]
}
上面的代码给出了alert
我是按第一个选项还是第二个选项。它不应该仅在选中第二个选项时才发出警报吗?