Browse Source

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

* commit 'e27686460c6817e82da5c046e36a7681b874ede4':
  auto upgrade version to 2.0.20221116143350
  KERNEL-13158: zhenfei漏改了
master
superman 2 years ago
parent
commit
a0944faf02
  1. 2
      package.json
  2. 12
      src/case/linearsegment/linear.segment.js

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "fineui", "name": "fineui",
"version": "2.0.20221115175620", "version": "2.0.20221116143350",
"description": "fineui", "description": "fineui",
"main": "dist/fineui_without_conflict.min.js", "main": "dist/fineui_without_conflict.min.js",
"types": "dist/lib/index.d.ts", "types": "dist/lib/index.d.ts",

12
src/case/linearsegment/linear.segment.js

@ -3,9 +3,6 @@ BI.LinearSegment = BI.inherit(BI.Widget, {
props: { props: {
baseCls: "bi-linear-segment", baseCls: "bi-linear-segment",
items: [], items: [],
layouts: [{
type: "bi.center"
}],
height: 30 height: 30
}, },
@ -13,11 +10,14 @@ BI.LinearSegment = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
return { return {
type: "bi.button_group", type: "bi.button_group",
items: BI.createItems(o.items, { items: [BI.createItems(o.items, {
type: "bi.linear_segment_button", type: "bi.linear_segment_button",
height: o.height height: o.height
}), })],
layouts: o.layouts, layouts: [{
type: "bi.table",
columnSize: BI.makeArrayByArray(o.items, "fill"),
}],
value: o.value, value: o.value,
listeners: [{ listeners: [{
eventName: "__EVENT_CHANGE__", eventName: "__EVENT_CHANGE__",

Loading…
Cancel
Save