Browse Source

chore: 优化一下

es6
guy 3 years ago
parent
commit
0890e95611
  1. 2
      src/case/button/item.multiselect.js
  2. 2
      src/case/button/node/node.arrow.js
  3. 2
      src/case/button/node/node.plus.js

2
src/case/button/item.multiselect.js

@ -38,6 +38,7 @@ BI.MultiSelectItem = BI.inherit(BI.BasicButton, {
type: "bi.center_adapt", type: "bi.center_adapt",
items: [this.checkbox] items: [this.checkbox]
}, { }, {
el: {
type: "bi.label", type: "bi.label",
ref: function (_ref) { ref: function (_ref) {
self.text = _ref; self.text = _ref;
@ -54,6 +55,7 @@ BI.MultiSelectItem = BI.inherit(BI.BasicButton, {
keyword: o.keyword, keyword: o.keyword,
value: o.value, value: o.value,
py: o.py py: o.py
}
}] }]
}; };
}, },

2
src/case/button/node/node.arrow.js

@ -32,6 +32,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
type: "bi.vertical_adapt", type: "bi.vertical_adapt",
columnSize: [o.iconWrapperWidth || o.height, "fill"], columnSize: [o.iconWrapperWidth || o.height, "fill"],
items: [this.checkbox, { items: [this.checkbox, {
el: {
type: "bi.label", type: "bi.label",
ref: function (_ref) { ref: function (_ref) {
self.text = _ref; self.text = _ref;
@ -45,6 +46,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
value: o.value, value: o.value,
py: o.py, py: o.py,
keyword: o.keyword keyword: o.keyword
}
}] }]
}; };
}, },

2
src/case/button/node/node.plus.js

@ -37,6 +37,7 @@ BI.PlusGroupNode = BI.inherit(BI.NodeButton, {
type: "bi.vertical_adapt", type: "bi.vertical_adapt",
columnSize: [o.iconWrapperWidth || o.height, "fill"], columnSize: [o.iconWrapperWidth || o.height, "fill"],
items: [this.checkbox, { items: [this.checkbox, {
el: {
type: "bi.label", type: "bi.label",
ref: function (_ref) { ref: function (_ref) {
self.text = _ref; self.text = _ref;
@ -50,6 +51,7 @@ BI.PlusGroupNode = BI.inherit(BI.NodeButton, {
value: o.value, value: o.value,
keyword: o.keyword, keyword: o.keyword,
py: o.py py: o.py
}
}] }]
}; };
}, },

Loading…
Cancel
Save