From e4d04ebcea6a28e18d1344addd371993da099831 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Wed, 12 May 2021 14:45:36 +0800 Subject: [PATCH] =?UTF-8?q?KERNEL-7775=20refactor:=20=E6=A0=91=E5=88=97?= =?UTF-8?q?=E8=A1=A8populate=E4=B8=8D=E9=9C=80=E8=A6=81=E5=88=B7=E6=96=B0s?= =?UTF-8?q?earcher?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changelog.md | 3 +++ src/widget/multiselecttree/multiselecttree.js | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 5373793127..7ed2f1f39c 100644 --- a/changelog.md +++ b/changelog.md @@ -1,4 +1,7 @@ # 更新日志 +2.0(2021-05) +- 解决了树列表populate调用两次itemsCreator的问题 + 2.0(2021-03) - 优化left_right_vertical_adapt布局,去掉float属性只使用flex - inline布局支持用calc计算fill列宽度 diff --git a/src/widget/multiselecttree/multiselecttree.js b/src/widget/multiselecttree/multiselecttree.js index 8654996c05..d48d562bf4 100644 --- a/src/widget/multiselecttree/multiselecttree.js +++ b/src/widget/multiselecttree/multiselecttree.js @@ -164,7 +164,6 @@ BI.MultiSelectTree = BI.inherit(BI.Single, { }, populate: function () { - this.searcher.populate(); this.adapter.populate(); } });