Browse Source

KERNEL-15104 chore:代码同步

es6
Treecat 2 years ago
parent
commit
2e2fc09951
  1. 1
      packages/fineui/src/case/combo/textvaluecombo/combo.textvaluesmall.js
  2. 16
      packages/fineui/src/case/combo/textvaluecombo/popup.textvalue.js

1
packages/fineui/src/case/combo/textvaluecombo/combo.textvaluesmall.js

@ -33,6 +33,7 @@ export class SmallTextValueCombo extends Widget {
type: SmallSelectTextTrigger.xtype, type: SmallSelectTextTrigger.xtype,
...o.el, ...o.el,
}, },
items: o.items,
text: o.text, text: o.text,
value: o.value, value: o.value,
defaultText: o.defaultText, defaultText: o.defaultText,

16
packages/fineui/src/case/combo/textvaluecombo/popup.textvalue.js

@ -39,17 +39,21 @@ export class TextValueComboPopup extends Pane {
vgap: 5, vgap: 5,
items: [ items: [
{ {
type: ButtonGroup.xtype, type: ListPane.xtype,
ref: _ref => { ref: _ref => {
this.popup = _ref; this.popup = _ref;
}, },
items: this._formatItems(o.items), items: this._formatItems(o.items),
chooseType: o.chooseType, chooseType: o.chooseType,
layouts: [ el: {
{ type: ButtonGroup.xtype,
type: VerticalLayout.xtype, chooseType: o.chooseType,
} layouts: [
], {
type: VerticalLayout.xtype,
}
],
},
value: o.value, value: o.value,
listeners: [ listeners: [
{ {

Loading…
Cancel
Save