diff --git a/changelog.md b/changelog.md index 1c0dec9911..c4c3d67d57 100644 --- a/changelog.md +++ b/changelog.md @@ -1,4 +1,7 @@ # 更新日志 +2.0(2020-2) +- 修复勾选节点不影响父子节点勾选状态的树搜索选中getValue不正常的问题 + 2.0(2020-1) - 修复单值系滑块滑动松手后发两次EVENT_CHANGE的问题 diff --git a/src/widget/multitree/trigger/multi.tree.search.pane.js b/src/widget/multitree/trigger/multi.tree.search.pane.js index bdc0d76261..7e752e1e12 100644 --- a/src/widget/multitree/trigger/multi.tree.search.pane.js +++ b/src/widget/multitree/trigger/multi.tree.search.pane.js @@ -20,7 +20,7 @@ BI.MultiTreeSearchPane = BI.inherit(BI.Pane, { var self = this, opts = this.options; - this.partTree = BI.createWidget({ + this.partTree = BI.createWidget(opts.el, { type: "bi.part_tree", element: this, tipText: BI.i18nText("BI-No_Select"),