From de686354adbcd4db35cd1ee9f6a8aca9beed2952 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Wed, 28 Aug 2019 09:22:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20rever:=20?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E9=80=89=E6=8B=A9=E5=B7=B2=E9=80=89=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/widget/multitree/multi.tree.combo.js | 4 ++-- src/widget/multitree/multi.tree.insert.combo.js | 4 ++-- src/widget/multitree/multi.tree.list.combo.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/widget/multitree/multi.tree.combo.js b/src/widget/multitree/multi.tree.combo.js index c3e7e6ecd9..399df7e021 100644 --- a/src/widget/multitree/multi.tree.combo.js +++ b/src/widget/multitree/multi.tree.combo.js @@ -187,9 +187,9 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, { var checked = this.getSearcher().hasChecked(); var val = { type: BI.Selection.Multi, - value: checked ? this.getValue() : {} + value: checked ? {1: 1} : {} }; - this.getSearcher().setState(val); + this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getCounter().setButtonChecked(val); self.fireEvent(BI.MultiTreeCombo.EVENT_CLICK_ITEM); }); diff --git a/src/widget/multitree/multi.tree.insert.combo.js b/src/widget/multitree/multi.tree.insert.combo.js index bbb36c2673..bedabf7fef 100644 --- a/src/widget/multitree/multi.tree.insert.combo.js +++ b/src/widget/multitree/multi.tree.insert.combo.js @@ -204,9 +204,9 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, { var checked = this.getSearcher().hasChecked(); var val = { type: BI.Selection.Multi, - value: checked ? this.getValue() : {} + value: checked ? {1: 1} : {} }; - this.getSearcher().setState(val); + this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getCounter().setButtonChecked(val); self.fireEvent(BI.MultiTreeInsertCombo.EVENT_CLICK_ITEM, self.combo.getValue()); }); diff --git a/src/widget/multitree/multi.tree.list.combo.js b/src/widget/multitree/multi.tree.list.combo.js index 7ae6b0a853..c291e3fb29 100644 --- a/src/widget/multitree/multi.tree.list.combo.js +++ b/src/widget/multitree/multi.tree.list.combo.js @@ -212,9 +212,9 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, { var checked = this.getSearcher().hasChecked(); var val = { type: BI.Selection.Multi, - value: checked ? this.getValue() : {} + value: checked ? {1: 1} : {} }; - this.getSearcher().setState(val); + this.getSearcher().setState(checked ? BI.Selection.Multi : BI.Selection.None); this.getCounter().setButtonChecked(val); self.fireEvent(BI.MultiTreeListCombo.EVENT_CLICK_ITEM, self.combo.getValue()); });