Browse Source

Merge pull request #46269 in DEC/fineui from master to feature/x

* commit 'de65bd09773ada45b846215937c841ac81094da6':
  无JIRA fix: single_select_radio_item单选框once,forceSelected 等属性没能控制到里面的bi.radio
es6
superman 3 years ago
parent
commit
b6822d918d
  1. 10
      src/case/button/item.singleselect.radio.js

10
src/case/button/item.singleselect.radio.js

@ -28,6 +28,16 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, {
ref: function (_ref) { ref: function (_ref) {
self.radio = _ref; self.radio = _ref;
}, },
listeners: [
{
eventName: BI.Controller.EVENT_CHANGE,
action: function (type) {
if (type === BI.Events.CLICK) {
self.setSelected(self.isSelected());
}
}
}
],
}] }]
}, { }, {
el: { el: {

Loading…
Cancel
Save