From 3b2f44a32cfa1a22e333163e2c393a644ff9b212 Mon Sep 17 00:00:00 2001 From: imp Date: Mon, 16 Apr 2018 17:40:54 +0800 Subject: [PATCH] segment default value --- src/case/segment/segment.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/case/segment/segment.js b/src/case/segment/segment.js index 74bf1d9ee7..20d2436452 100644 --- a/src/case/segment/segment.js +++ b/src/case/segment/segment.js @@ -19,6 +19,7 @@ BI.Segment = BI.inherit(BI.Widget, { this.buttonGroup = BI.createWidget({ element: this, type: "bi.button_group", + value: o.value, items: BI.createItems(o.items, { type: "bi.segment_button", height: o.height - 2,