Browse Source

REPORT-28439 refactor: list_async_tree支持默认值

es6
windy 5 years ago
parent
commit
914aab51e9
  1. 4
      src/base/tree/ztree/list/listtreeview.js

4
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);
}
},
// 配置属性

Loading…
Cancel
Save