From d9159cbb0a1065c703e6dcf33e3e8a53447b6077 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Wed, 22 Apr 2020 10:23:19 +0800 Subject: [PATCH] =?UTF-8?q?BI-63837=20fix:=20=E5=85=A8=E9=80=89=E7=88=B6?= =?UTF-8?q?=E8=8A=82=E7=82=B9=E5=90=8E=E5=8E=BB=E9=80=89=E9=80=89=E4=B8=AD?= =?UTF-8?q?=E5=AD=90=E8=8A=82=E7=82=B9=E5=86=8D=E5=8B=BE=E9=80=89=E6=AD=A4?= =?UTF-8?q?=E5=AD=90=E8=8A=82=E7=82=B9=E4=B8=8D=E5=AF=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/tree/ztree/asynctree.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/tree/ztree/asynctree.js b/src/base/tree/ztree/asynctree.js index 2abbd121a..31508d645 100644 --- a/src/base/tree/ztree/asynctree.js +++ b/src/base/tree/ztree/asynctree.js @@ -204,7 +204,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, { if (BI.isNull(compare[n])) { self._addTreeNode(map, parent, n, item); } else if (BI.isEmpty(compare[n])) { - self._addTreeNode(map, parent, n, item); + self._addTreeNode(map, parent, n, {}); } else { track(parent.concat([n]), node[n], compare[n]); }