Browse Source

BI-89305 fix: 树初始化未完成时getValue为空

es6
windy 4 years ago
parent
commit
2b7fd4eac7
  1. 2
      src/case/ztree/1.asynctree.js

2
src/case/ztree/1.asynctree.js

@ -219,7 +219,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
_getJoinValue: function () { _getJoinValue: function () {
if (!this.nodes) { if (!this.nodes) {
return {}; return this.options.paras.selectedValues || {};
} }
var checkedValues = this._getSelectedValues(); var checkedValues = this._getSelectedValues();
if (BI.isEmpty(checkedValues)) { if (BI.isEmpty(checkedValues)) {

Loading…
Cancel
Save