Browse Source

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

Merge in VISUAL/fineui from ~WINDY/fui:master to master

* commit 'a9ebec12c43adf4e749fad4c7e672f822d905be5':
  changelog
  BI-89305 fix: 树初始化未完成时getValue为空
es6
windy 3 years ago
parent
commit
f0d6f05dd6
  1. 3
      changelog.md
  2. 2
      src/case/ztree/1.asynctree.js

3
changelog.md

@ -1,4 +1,7 @@
# 更新日志
2.0(2021-07)
- 修复了树控件节点未初始化时调用树的getValue始终为空的问题
2.0(2021-05)
- 支持搜索的控件支持搜索包含空格的字符串
- 解决了树列表populate调用两次itemsCreator的问题

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

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

Loading…
Cancel
Save