Browse Source

BI-103702 fix: 树节点文本带换行重影

es6
windy 3 years ago
parent
commit
947c372704
  1. 3
      src/case/ztree/0.treeview.js

3
src/case/ztree/0.treeview.js

@ -368,7 +368,8 @@ BI.TreeView = BI.inherit(BI.Pane, {
root: true,
keyword: o.paras.keyword
}, newNode, {
type: "bi.text"
type: "bi.text",
text: BI.replaceAll(newNode.text, "\n", " ")
}));
var fragment = BI.Widget._renderEngine.createElement("<div>");
fragment.append(text.element[0]);

Loading…
Cancel
Save