Browse Source

Pull request #2620: BI-103702 fix: 树节点文本带换行重影

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

* commit '947c3727041820f39b0b80f092870bc68f2ef760':
  BI-103702 fix: 树节点文本带换行重影
es6
windy 3 years ago
parent
commit
9af6fe1ecb
  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