diff --git a/packages/fineui/src/case/ztree/parttree.js b/packages/fineui/src/case/ztree/parttree.js index 266e0d6b9..d31610099 100644 --- a/packages/fineui/src/case/ztree/parttree.js +++ b/packages/fineui/src/case/ztree/parttree.js @@ -24,7 +24,7 @@ export class PartTree extends AsyncTree { constructor(...args) { super(...args); - this.seMethos = super._selectTreeNode; + this.seMethos = AsyncTree.superclass._selectTreeNode; } _loadMore() { diff --git a/packages/fineui/src/widget/multiselect/multiselect.combo.js b/packages/fineui/src/widget/multiselect/multiselect.combo.js index fb5f31968..72d152bd5 100644 --- a/packages/fineui/src/widget/multiselect/multiselect.combo.js +++ b/packages/fineui/src/widget/multiselect/multiselect.combo.js @@ -48,6 +48,7 @@ export class MultiSelectCombo extends Single { static EVENT_CLICK_ITEM = "EVENT_CLICK_ITEM"; static EVENT_CONFIRM = "EVENT_CONFIRM"; static MultiSelectCombo = "MultiSelectCombo"; + static EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW"; _defaultConfig() { return extend(super._defaultConfig(...arguments), { diff --git a/packages/fineui/src/widget/multitree/trigger/searcher.list.multi.tree.js b/packages/fineui/src/widget/multitree/trigger/searcher.list.multi.tree.js index 0c6bcf7e0..d38fd3436 100644 --- a/packages/fineui/src/widget/multitree/trigger/searcher.list.multi.tree.js +++ b/packages/fineui/src/widget/multitree/trigger/searcher.list.multi.tree.js @@ -1,4 +1,4 @@ -import { shortcut, Widget, extend, emptyFn, createWidget, isNotNull, isNumber, size, each, last, Selection } from "@/core"; +import { shortcut, Widget, extend, emptyFn, createWidget, isNotNull, isNumber, size, each, last, Selection, isObject } from "@/core"; import { MultiSelectEditor } from "../../multiselect/trigger/editor.multiselect"; import { MultiSelectSearcher } from "../../multiselect/trigger/searcher.multiselect"; import { Searcher } from "@/base"; @@ -137,7 +137,7 @@ export class MultiListTreeSearcher extends Widget { setState(ob) { const o = this.options; ob || (ob = {}); - ob.value || (ob.value = []); + isObject(ob) && (ob.value || (ob.value = [])); let count = 0; if (isNumber(ob)) { this.editor.setState(ob); diff --git a/packages/fineui/src/widget/multitree/trigger/searcher.multi.tree.js b/packages/fineui/src/widget/multitree/trigger/searcher.multi.tree.js index 555e579fd..518dff408 100644 --- a/packages/fineui/src/widget/multitree/trigger/searcher.multi.tree.js +++ b/packages/fineui/src/widget/multitree/trigger/searcher.multi.tree.js @@ -11,7 +11,8 @@ import { each, isEmptyObject, Func, - Selection + Selection, + isObject } from "@/core"; import { MultiSelectEditor } from "../../multiselect/trigger/editor.multiselect"; import { MultiSelectSearcher } from "../../multiselect/trigger/searcher.multiselect"; @@ -165,7 +166,7 @@ export class MultiTreeSearcher extends Widget { setState(ob) { const o = this.options; ob || (ob = {}); - ob.value || (ob.value = {}); + isObject(ob) && (ob.value || (ob.value = {})); let count = 0; if (isNumber(ob)) { this.editor.setState(ob);