Browse Source

Pull request #2122: BI-92467 fix:下拉树控件父节点下有空值,勾选空值,过滤条件显示应该为 父结点值:;

Merge in VISUAL/fineui from ~CLAIRE.TANG/fineui:master to master

* commit '9d3b4823c46dcbdf522e8e9253c922dfb1d04804':
  BI-92467 fix:下拉树控件父节点下有空值,勾选空值,过滤条件显示应该为 父结点值:;
es6
Claire.Tang 3 years ago
parent
commit
4df0879b09
  1. 2
      src/widget/multitree/trigger/searcher.multi.tree.js

2
src/widget/multitree/trigger/searcher.multi.tree.js

@ -136,7 +136,7 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, {
var names = BI.Func.getSortedResult(BI.keys(value));
BI.each(names, function (idx, name) {
var childNodes = getChildrenNode(value[name]);
text += (name === "null" ? "" : (o.valueFormatter(name + "") || name)) + (childNodes === "" ? "" : (":" + childNodes)) + "; ";
text += (name === "null" ? "" : (o.valueFormatter(name + "") || name)) + (childNodes === "" ? (BI.isEmptyObject(value[name]) ? "" : ":") : (":" + childNodes)) + "; ";
if (childNodes === "") {
count++;
}

Loading…
Cancel
Save