diff --git a/src/case/ztree/0.treeview.js b/src/case/ztree/0.treeview.js index 850f9104ce..f67c9291bb 100644 --- a/src/case/ztree/0.treeview.js +++ b/src/case/ztree/0.treeview.js @@ -338,7 +338,7 @@ BI.TreeView = BI.inherit(BI.Pane, { n.value = BI.isUndefined(n.value) ? n.text : n.value; n.text = BI.isUndefined(n.text) ? n.value : n.text; if (n.text === null) { - n.text = "(null)"; + n.text = ""; } if (BI.isNull(n.title)) { n.title = n.text; diff --git a/src/widget/multitree/trigger/searcher.multi.tree.js b/src/widget/multitree/trigger/searcher.multi.tree.js index 3f93473481..65738cd2dd 100644 --- a/src/widget/multitree/trigger/searcher.multi.tree.js +++ b/src/widget/multitree/trigger/searcher.multi.tree.js @@ -156,7 +156,7 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, { BI.each(names, function (idx, name) { index++; var childNodes = getChildrenNode(ob[name]); - text += (name === "null" ? "(null)" : (o.valueFormatter(name + "") || name)) + (childNodes === "" ? "" : (":" + childNodes)) + (index === size ? "" : ","); + text += (name === "null" ? "" : (o.valueFormatter(name + "") || name)) + (childNodes === "" ? "" : (":" + childNodes)) + (index === size ? "" : ","); if (childNodes === "") { count++; }