From 149e8584d3307f377c87d636c084e17ed625edb8 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Thu, 30 Apr 2020 10:37:58 +0800 Subject: [PATCH] =?UTF-8?q?BI-64732=20fix:=20=E6=A0=91=E5=88=97=E8=A1=A8pa?= =?UTF-8?q?use=E6=9A=82=E5=81=9C=E6=90=9C=E7=B4=A2=E9=9C=80=E8=A6=81?= =?UTF-8?q?=E5=88=B7=E6=96=B0=E4=B8=BB=E9=9D=A2=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changelog.md | 1 + src/widget/multiselecttree/multiselecttree.js | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/changelog.md b/changelog.md index ca684ef0e..91370093c 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,6 @@ # 更新日志 2.0(2020-04) +- 修复树列表通过空格回到初始面板没有刷新的问题 - 下拉树系列添加下拉popup弹出前事件 - 修复了复选下拉勾选值和搜索结果中含有父子串关系时提示不正确的问题 - searcher提供可配是否支持搜索空格的allSearchBlank diff --git a/src/widget/multiselecttree/multiselecttree.js b/src/widget/multiselecttree/multiselecttree.js index f980b0456..21b5b5adb 100644 --- a/src/widget/multiselecttree/multiselecttree.js +++ b/src/widget/multiselecttree/multiselecttree.js @@ -90,6 +90,10 @@ BI.MultiSelectTree = BI.inherit(BI.Single, { eventName: BI.Searcher.EVENT_PAUSE, action: function () { self._showAdapter(); + // BI-64732 pause 和stop一致, 都应该刷新adapter + BI.nextTick(function () { + self.adapter.populate(); + }); } }] });