Browse Source

Pull request #3515: KERNEL-15104 chore:代码同步

Merge in VISUAL/fineui from ~TREECAT/fineui:es6 to es6

* commit '33cfd6aea8c015d74898d5e4f025c62a6afe5340':
  REPORT-94935 fix:isArray没有被引入
  KERNEL-15104 chore:代码同步
es6
treecat-罗群 2 years ago
parent
commit
003b034581
  1. 1
      packages/fineui/src/case/combo/textvaluecombo/combo.textvaluesmall.js
  2. 16
      packages/fineui/src/case/combo/textvaluecombo/popup.textvalue.js
  3. 2
      packages/fineui/src/core/func/alias.js

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

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

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

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

2
packages/fineui/src/core/func/alias.js

@ -1,4 +1,4 @@
import { each, isFunction, isNull, isObject, isPlainObject, keys, leftPad, parseDateTime, values } from "../2.base";
import { each, isFunction, isNull, isObject, isPlainObject, keys, leftPad, parseDateTime, values, isArray } from "../2.base";
import { replaceAll } from "./string";
import { getFullDayName, getMonthName, getTimezone } from "./date";
import { _global } from "../0.foundation";

Loading…
Cancel
Save