Browse Source

chore: 优化一下

es6
guy 3 years ago
parent
commit
ea66544ec2
  1. 3
      src/case/linersegment/linear.segment.js

3
src/case/linersegment/linear.segment.js

@ -18,6 +18,7 @@ BI.LinearSegment = BI.inherit(BI.Widget, {
height: o.height - 1
}),
layouts: o.layouts,
value: o.value,
listeners: [{
eventName: "__EVENT_CHANGE__",
action: function () {
@ -48,4 +49,4 @@ BI.LinearSegment = BI.inherit(BI.Widget, {
return this.buttonGroup.getValue();
}
});
BI.shortcut("bi.linear_segment", BI.LinearSegment);
BI.shortcut("bi.linear_segment", BI.LinearSegment);

Loading…
Cancel
Save