Browse Source

单选项点圈不能选的问题

es6
Frank.Qiu 7 years ago
parent
commit
dcfafcbdad
  1. 3
      bi/case.js
  2. 3
      dist/bundle.js
  3. 3
      dist/case.js
  4. 3
      src/case/button/item.singleselect.radio.js

3
bi/case.js

@ -344,9 +344,6 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, {
type: "bi.radio" type: "bi.radio"
}); });
this.radio.on(BI.Controller.EVENT_CHANGE, function (type) { this.radio.on(BI.Controller.EVENT_CHANGE, function (type) {
if (type === BI.Events.CLICK) {
self.setSelected(!self.isSelected());
}
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);
}); });
this.text = BI.createWidget({ this.text = BI.createWidget({

3
dist/bundle.js vendored

@ -61802,9 +61802,6 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, {
type: "bi.radio" type: "bi.radio"
}); });
this.radio.on(BI.Controller.EVENT_CHANGE, function (type) { this.radio.on(BI.Controller.EVENT_CHANGE, function (type) {
if (type === BI.Events.CLICK) {
self.setSelected(!self.isSelected());
}
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);
}); });
this.text = BI.createWidget({ this.text = BI.createWidget({

3
dist/case.js vendored

@ -344,9 +344,6 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, {
type: "bi.radio" type: "bi.radio"
}); });
this.radio.on(BI.Controller.EVENT_CHANGE, function (type) { this.radio.on(BI.Controller.EVENT_CHANGE, function (type) {
if (type === BI.Events.CLICK) {
self.setSelected(!self.isSelected());
}
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);
}); });
this.text = BI.createWidget({ this.text = BI.createWidget({

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

@ -21,9 +21,6 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, {
type: "bi.radio" type: "bi.radio"
}); });
this.radio.on(BI.Controller.EVENT_CHANGE, function (type) { this.radio.on(BI.Controller.EVENT_CHANGE, function (type) {
if (type === BI.Events.CLICK) {
self.setSelected(!self.isSelected());
}
self.fireEvent(BI.Controller.EVENT_CHANGE, arguments); self.fireEvent(BI.Controller.EVENT_CHANGE, arguments);
}); });
this.text = BI.createWidget({ this.text = BI.createWidget({

Loading…
Cancel
Save