Browse Source

Merge pull request #3639 in VISUAL/fineui from DEC/fineui:release/11.0 to master

* commit '23c324bd4dbaec852d938f014dcb4402f1ceac0c':
  REPORT-101788 && REPORT-101859 fix:【11.0.19冒烟】新前端-控件-下拉树 下拉树搜索失效,输入值没反应 && FR11样式-下拉树控件模糊搜索无反应,控制台报错
  REPORT-101119 fix:新引擎-下拉复选框选中后查看已选选项,一直在加载中出不来
research/test
Aeolus.Zhang-张敬峥 1 year ago
parent
commit
c37863ebaf
  1. 2
      packages/fineui/src/base/combination/loader.js
  2. 4
      packages/fineui/src/widget/multitree/trigger/multi.tree.search.insert.pane.js

2
packages/fineui/src/base/combination/loader.js

@ -181,7 +181,7 @@ export class Loader extends Widget {
isEmpty(optionsItems) && isEmpty(optionsItems) &&
nextTick( nextTick(
bind(() => { bind(() => {
isDefaultInit && isEmpty(optionsItems) && this._populate(); isDefaultInit && isEmpty(this.options.items) && this._populate();
}, this) }, this)
); );
const items = isFunction(optionsItems) const items = isFunction(optionsItems)

4
packages/fineui/src/widget/multitree/trigger/multi.tree.search.insert.pane.js

@ -11,7 +11,7 @@ export class MultiTreeSearchInsertPane extends Widget {
el: { type: PartTree.xtype }, el: { type: PartTree.xtype },
}; };
static constants = { static CONSTANTS = {
height: 24, height: 24,
}; };
@ -36,7 +36,7 @@ export class MultiTreeSearchInsertPane extends Widget {
self.addTip = _ref; self.addTip = _ref;
}, },
text: i18nText("BI-Basic_Click_To_Add_Text", ""), text: i18nText("BI-Basic_Click_To_Add_Text", ""),
height: this.constants.height, height: MultiTreeSearchInsertPane.CONSTANTS.height,
cls: "bi-high-light", cls: "bi-high-light",
handler() { handler() {
self.fireEvent(MultiTreeSearchInsertPane.EVENT_ADD_ITEM, opts.keywordGetter()); self.fireEvent(MultiTreeSearchInsertPane.EVENT_ADD_ITEM, opts.keywordGetter());

Loading…
Cancel
Save