guy 8 years ago
parent
commit
361a1b78d4
  1. 2
      bi/base.js
  2. 2
      docs/base.js
  3. 2
      src/base/tree/treeview.js

2
bi/base.js

@ -1717,7 +1717,7 @@ BI.TreeView = BI.inherit(BI.Pane, {
_getNodeValue: function (node) { _getNodeValue: function (node) {
//去除标红 //去除标红
return node.value == null ? node.text.replace(/<[^>]+>/g, "") : node.value; return node.value == null ? node.text.replace(/<[^>]+>/g, "").replaceAll(" ", " ") : node.value;
}, },
//获取半选框值 //获取半选框值

2
docs/base.js

@ -1717,7 +1717,7 @@ BI.TreeView = BI.inherit(BI.Pane, {
_getNodeValue: function (node) { _getNodeValue: function (node) {
//去除标红 //去除标红
return node.value == null ? node.text.replace(/<[^>]+>/g, "") : node.value; return node.value == null ? node.text.replace(/<[^>]+>/g, "").replaceAll(" ", " ") : node.value;
}, },
//获取半选框值 //获取半选框值

2
src/base/tree/treeview.js

@ -216,7 +216,7 @@ BI.TreeView = BI.inherit(BI.Pane, {
_getNodeValue: function (node) { _getNodeValue: function (node) {
//去除标红 //去除标红
return node.value == null ? node.text.replace(/<[^>]+>/g, "") : node.value; return node.value == null ? node.text.replace(/<[^>]+>/g, "").replaceAll(" ", " ") : node.value;
}, },
//获取半选框值 //获取半选框值

Loading…
Cancel
Save