From 914aab51e951ad9ccbc1bdbcfb784568815ea3b9 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Tue, 24 Mar 2020 09:47:43 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-28439=20refactor:=20list=5Fasync=5Ftree?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E9=BB=98=E8=AE=A4=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/tree/ztree/list/listtreeview.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/base/tree/ztree/list/listtreeview.js b/src/base/tree/ztree/list/listtreeview.js index ea7198ab6..1cf634dd9 100644 --- a/src/base/tree/ztree/list/listtreeview.js +++ b/src/base/tree/ztree/list/listtreeview.js @@ -17,7 +17,9 @@ BI.ListTreeView = BI.inherit(BI.TreeView, { _init: function () { BI.ListTreeView.superclass._init.apply(this, arguments); var o = this.options; - this.storeValue = o.value || {}; + if(BI.isNotNull(o.value)) { + this.setSelectedValue(o.value); + } }, // 配置属性