From 947c3727041820f39b0b80f092870bc68f2ef760 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Wed, 6 Apr 2022 16:07:51 +0800 Subject: [PATCH] =?UTF-8?q?BI-103702=20fix:=20=E6=A0=91=E8=8A=82=E7=82=B9?= =?UTF-8?q?=E6=96=87=E6=9C=AC=E5=B8=A6=E6=8D=A2=E8=A1=8C=E9=87=8D=E5=BD=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/case/ztree/0.treeview.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/case/ztree/0.treeview.js b/src/case/ztree/0.treeview.js index ea9f22b54..2ee02010f 100644 --- a/src/case/ztree/0.treeview.js +++ b/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("
"); fragment.append(text.element[0]);