From ea66544ec251134a12f815f8a4d30557412b6113 Mon Sep 17 00:00:00 2001 From: guy Date: Sun, 2 Jan 2022 00:32:45 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BC=98=E5=8C=96=E4=B8=80=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/case/linersegment/linear.segment.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/case/linersegment/linear.segment.js b/src/case/linersegment/linear.segment.js index f0060dce3..d7febfcd1 100644 --- a/src/case/linersegment/linear.segment.js +++ b/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); \ No newline at end of file +BI.shortcut("bi.linear_segment", BI.LinearSegment);