From a749807a33b2220fea8f9bab48d67b07dc29fb9f Mon Sep 17 00:00:00 2001 From: "jiamin.wei" Date: Mon, 9 Mar 2026 13:54:37 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=B1=95=E5=BC=80?= =?UTF-8?q?=E5=9C=BA=E6=99=AF=E4=B8=8B=EF=BC=8C=E6=B7=BB=E5=8A=A0=E5=AD=90?= =?UTF-8?q?=E8=8A=82=E7=82=B9=E5=AF=BC=E8=87=B4=E8=A7=A6=E5=8F=91=E5=B1=95?= =?UTF-8?q?=E5=BC=80=E4=BA=8B=E4=BB=B6bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jsmind.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/jsmind.js b/src/jsmind.js index 3d8310ac..f021637f 100644 --- a/src/jsmind.js +++ b/src/jsmind.js @@ -446,7 +446,9 @@ export default class jsMind { _refresh_node_ui(parent_node) { this.layout.layout(); this.view.show(false); - this.expand_node(parent_node); + if (!parent_node.expanded) { + this.expand_node(parent_node); + } } /**